Add dockerfile

This commit is contained in:
Yarmo Mackenbach 2020-09-25 19:33:16 +02:00
parent e971028e7d
commit 0e7a156fce

15
Dockerfile Normal file
View File

@ -0,0 +1,15 @@
FROM node:12
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install --production
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "node", "index.js" ]