Dockerfile

This commit is contained in:
Dave Horton
2020-02-03 10:32:22 -05:00
parent a914225441
commit 74a48c4b30

13
Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM node:lts-alpine
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY package.json /usr/src/app/
RUN npm install
COPY . /usr/src/app
CMD [ "npm", "start" ]