Skip to content

Commit

Permalink
build(docker): update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
DeadNews committed Jan 17, 2024
1 parent cdceef3 commit bf02ec8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ RUN bun install --production --frozen-lockfile
USER bun:bun
EXPOSE ${NODE_PORT}
HEALTHCHECK --interval=60s --timeout=3s \
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${NODE_PORT}/health || exit 1
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:${NODE_PORT}/health || exit 1

CMD ["bun", "start"]
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ services:
web:
build: .
ports:
- 3000:3000
- 127.0.0.1:${NODE_PORT:-3000}:${NODE_PORT:-3000}
environment:
NODE_PORT: "3000"
UVICORN_PORT: ${NODE_PORT:-3000}

0 comments on commit bf02ec8

Please sign in to comment.