Add instructions to run app as Docker container (#68)

This commit is contained in:
shm
2017-11-16 13:37:19 +01:00
committed by GitHub
parent 9e07bf63ae
commit ffc2df6a41
3 changed files with 50 additions and 2 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM node:9
WORKDIR /app
RUN npm install -g contentful-cli
COPY package.json .
RUN npm install
COPY . .
USER node
EXPOSE 3000
CMD ["npm", "run", "start:dev"]