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 14, 2024
1 parent 4a21d87 commit e115364
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 e115364

Please sign in to comment.