Skip to content

Commit bdbcf42

Browse files
committed
Shift entrypoint to dockerfile
Signed-off-by: SeeuSim <[email protected]>
1 parent b2eb957 commit bdbcf42

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

backend/user/express.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,4 @@ COPY entrypoint.sh .
2323

2424
ARG port
2525
EXPOSE ${port}
26-
CMD [ "npm", "run", "start" ]
26+
ENTRYPOINT [ "/bin/sh", "entrypoint.sh" ]

docker-compose.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ services:
9191
networks:
9292
- user-db-network
9393
- user-api-network
94-
entrypoint: ["/bin/sh", "entrypoint.sh"]
9594
healthcheck:
9695
test: wget --no-verbose --tries=1 --spider http://localhost:9001/health || exit 1
9796
interval: 30s

0 commit comments

Comments
 (0)