diff --git a/.gitea/workflows/release-image.yml b/.gitea/workflows/release-image.yml index 543f3c6..8fa824e 100644 --- a/.gitea/workflows/release-image.yml +++ b/.gitea/workflows/release-image.yml @@ -72,8 +72,6 @@ jobs: load: true tags: ${{ env.TEST_TAG }} file: ./Dockerfile - build-args: | - REGISTRY=hub.docker - name: Test run: | @@ -88,8 +86,6 @@ jobs: tags: ${{ steps.meta.outputs.tags }} labels: ${{ steps.meta.outputs.labels }} file: ./Dockerfile - build-args: | - REGISTRY=hub.docker - name: Actions Ntfy run: | diff --git a/Dockerfile b/Dockerfile index b1b03a2..8d14693 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ -ARG REGISTRY +ARG REGISTRY=hub.docker FROM ${REGISTRY}/node:22.16.0-alpine3.22 AS base -LABEL version="0.8.5" +LABEL version="0.8.6" LABEL description="Astro based personal website" ENV PNPM_HOME="/pnpm" @@ -21,7 +21,7 @@ RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --save form-data FROM build-deps AS build COPY . . RUN pnpm run build -RUN pnpm prune --omit=dev +RUN pnpm prune --production FROM base AS runtime COPY --from=prod-deps /app/node_modules /app/node_modules @@ -33,4 +33,4 @@ ENV DIRECTUS_URL=https://directus.alexlebens.dev ENV PORT=4321 EXPOSE $PORT -CMD node ./dist/server/entry.mjs \ No newline at end of file +CMD ["node", "./dist/server/entry.mjs"] \ No newline at end of file diff --git a/package.json b/package.json index 090279b..d0726b4 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "site-profile", "type": "module", - "version": "0.8.5", + "version": "0.8.6", "private": true, "scripts": { "dev": "astro dev",