Skip to content

Commit c3ce8bd

Browse files
committed
deploy: add ghcr.io image to docker compose
1 parent 218a45d commit c3ce8bd

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ RUN chown -R node:node *
3636
# Switch to non-root user
3737
USER node
3838

39+
ENV NODE_ENV production
40+
3941
# Define startup command
40-
CMD ["NODE_ENV=production", "node", "server/app.js"]
42+
CMD ["node", "server/app.js"]
4143

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
services:
22
bhima:
33
build: .
4-
image: imaworldhealth/bhima
4+
image: ghcr.io/third-culture-software/bhima
55
restart: unless-stopped
66
ports:
77
- $PORT:$PORT

0 commit comments

Comments
 (0)