Functional dockerfile.

This commit is contained in:
Patrick Fic
2022-04-28 20:53:51 -07:00
parent f82a70d4b5
commit 2d56033890
5 changed files with 20 additions and 3 deletions

View File

@@ -15,5 +15,8 @@ RUN npm install
# Bundle app source
COPY . .
ENV NODE_PATH=./build
RUN npm run build
EXPOSE 8000
CMD [ "node", "server.js" ]
CMD [ "npm", "start" ]