Browse Source

Add dockerfile

main
Yarmo Mackenbach 1 month ago
parent
commit
0e7a156fce
1 changed files with 15 additions and 0 deletions
  1. +15
    -0
      Dockerfile

+ 15
- 0
Dockerfile 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" ]

Loading…
Cancel
Save