Skip to content

Commit

Permalink
fix: dockerfile cmd
Browse files Browse the repository at this point in the history
Signed-off-by: Homing So <[email protected]>
  • Loading branch information
hominsu committed Aug 14, 2024
1 parent 5bf4b9e commit c46ea3b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions app/tag-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
}
4 changes: 2 additions & 2 deletions deploy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"]

0 comments on commit c46ea3b

Please sign in to comment.