Docker setup
parent
6ccd02af6c
commit
20ed3d0928
@ -0,0 +1,3 @@
|
|||||||
|
node_modules
|
||||||
|
npm-debug.log
|
||||||
|
.*
|
@ -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"]
|
Loading…
Reference in New Issue