fix: Use CMD in the dockerfile
This commit is contained in:
parent
395c5ba793
commit
c68ec4119d
2 changed files with 2 additions and 8 deletions
|
|
@ -1,7 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
#Run the prisma:deploy npm script
|
||||
# npm run prisma:deploy
|
||||
|
||||
# Start the server
|
||||
exec node build
|
||||
|
|
@ -26,4 +26,5 @@ COPY package.json .
|
|||
EXPOSE 3000
|
||||
ENV NODE_ENV=production
|
||||
VOLUME /data
|
||||
ENTRYPOINT [ "./entrypoint.sh" ]
|
||||
|
||||
CMD ["node", "build"]
|
||||
Loading…
Reference in a new issue