Dockerfile

This commit is contained in:
Dave Horton
2020-02-03 10:31:29 -05:00
parent a697840de7
commit 348a820044

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" ]