Add Dockerfile

This commit is contained in:
Yarmo Mackenbach 2020-08-09 11:43:25 +02:00
parent 086799bc31
commit 608e10cf43

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
# Bundle app source
COPY . .
EXPOSE 3000
CMD [ "node", "index.js" ]