Use entrypoint instead of cmd in dockerfile

This commit is contained in:
Corey Butler committed 2020-04-01 12:36:13 -05:00
1 parent 4fa1023419
commit d156584cf4
1 file changed
+1 -1
+1 -1
View File
@@ -2,4 +2,4 @@ FROM node:13-alpine
ADD ./app /app
WORKDIR /app
RUN npm i
CMD ["npm", "start"]
ENTRYPOINT ["npm", "start"]