Docker setup

This commit is contained in:
Ruakij 2021-11-23 15:15:10 +01:00
parent 6ccd02af6c
commit 20ed3d0928
2 changed files with 16 additions and 0 deletions

3
.dockerignore Normal file
View File

@ -0,0 +1,3 @@
node_modules
npm-debug.log
.*

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM node:16
# Create app directory
WORKDIR /usr/src/app
# Install app dependencies
COPY package*.json ./
RUN npm install
# Bundle app source
COPY ./src/ .
CMD ["npm", "run"]