Use entrypoint instead of cmd in dockerfile

This commit is contained in:
Corey Butler 2020-04-01 12:36:13 -05:00
parent 4fa1023419
commit d156584cf4

View File

@ -2,4 +2,4 @@ FROM node:13-alpine
ADD ./app /app
WORKDIR /app
RUN npm i
CMD ["npm", "start"]
ENTRYPOINT ["npm", "start"]