Setting up continuous deployment
This commit is contained in:
parent
6bec8b3703
commit
bc7b5fc6c9
6 changed files with 108 additions and 0 deletions
4
back/.dockerignore
Normal file
4
back/.dockerignore
Normal file
|
@ -0,0 +1,4 @@
|
|||
/dist/
|
||||
/node_modules/
|
||||
/dist/bundle.js
|
||||
/yarn-error.log
|
8
back/Dockerfile
Normal file
8
back/Dockerfile
Normal file
|
@ -0,0 +1,8 @@
|
|||
FROM thecodingmachine/nodejs:12
|
||||
|
||||
COPY . .
|
||||
RUN yarn install
|
||||
|
||||
ENV NODE_ENV=production
|
||||
|
||||
CMD ['yarn', 'run', 'prod']
|
Loading…
Add table
Add a link
Reference in a new issue