From c46ea3b0a88278929e72f23e4958100950f9b1ad Mon Sep 17 00:00:00 2001 From: Homing So Date: Wed, 14 Aug 2024 14:44:24 +0800 Subject: [PATCH] fix: dockerfile cmd Signed-off-by: Homing So --- app/tag-data.json | 20 ++++++++++---------- deploy/Dockerfile | 4 ++-- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/app/tag-data.json b/app/tag-data.json index 1e0f85b..fe6a227 100644 --- a/app/tag-data.json +++ b/app/tag-data.json @@ -2,16 +2,7 @@ "cpp": 4, "bits": 3, "hacks": 3, - "cs182": 2, - "cs282a": 2, - "docker": 1, - "nginx": 1, - "vps": 1, "path": 1, - "sing-box": 1, - "winsw": 1, - "proxy": 1, - "windows": 1, "ffmpeg": 1, "opencv": 1, "rtmp": 1, @@ -20,5 +11,14 @@ "tss": 1, "tpm-12": 1, "tpm-emulator": 1, - "trousers": 1 + "trousers": 1, + "docker": 1, + "nginx": 1, + "vps": 1, + "sing-box": 1, + "winsw": 1, + "proxy": 1, + "windows": 1, + "cs182": 2, + "cs282a": 2 } diff --git a/deploy/Dockerfile b/deploy/Dockerfile index 987b3c7..d5c84b1 100644 --- a/deploy/Dockerfile +++ b/deploy/Dockerfile @@ -45,7 +45,7 @@ RUN --mount=type=secret,id=NEXT_PUBLIC_ALGOLIA_APIKEY \ FROM scratch AS export COPY --from=builder /app/public /app/public -COPY --from=builder /app/.next/standalone /app/.next/standalone +COPY --from=builder /app/.next/standalone /app/ COPY --from=builder /app/.next/static /app/.next/static COPY --from=deps /sharp/node_modules/.pnpm /app/node_modules/.pnpm @@ -69,4 +69,4 @@ EXPOSE 3000/tcp # server.js is created by next build from the standalone output # https://nextjs.org/docs/pages/api-reference/next-config-js/output -CMD ["node", "server.js"] +CMD ["node", "/app/server.js"]