Skip to content

Commit

Permalink
deploy: add ghcr.io image to docker compose
Browse files Browse the repository at this point in the history
  • Loading branch information
jniles committed May 13, 2024
1 parent 5fd6699 commit 116cee0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ RUN chown -R node:node *
# Switch to non-root user
USER node

ENV NODE_ENV production

# Define startup command
CMD ["NODE_ENV=production", "node", "server/app.js"]
CMD ["node", "server/app.js"]

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
services:
bhima:
build: .
image: imaworldhealth/bhima
image: ghcr.io/third-culture-software/bhima
restart: unless-stopped
ports:
- $PORT:$PORT
Expand Down

0 comments on commit 116cee0

Please sign in to comment.