Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
zuisong committed Jun 12, 2024
1 parent 2022c85 commit cc324c0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docker/bun.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN deno task build:deno

#----------------

FROM oven/bun:1-alpine
FROM oven/bun:latest
WORKDIR /data
COPY --from=builder /data/dist/main_bun.mjs app.mjs
CMD ["bun", "app.mjs"]
CMD ["bun", "run", "app.mjs"]
2 changes: 1 addition & 1 deletion docker/node.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY . .
RUN deno task build:deno

#----------------
FROM node:21-alpine
FROM node:latest
WORKDIR /data
COPY --from=builder /data/dist/main_node.mjs app.mjs
CMD ["node", "app.mjs"]

0 comments on commit cc324c0

Please sign in to comment.