feat(release): Setup automatic docker build
This commit is contained in:
parent
a3c1bae6db
commit
d5f5fe5f1a
8 changed files with 79 additions and 5 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
FROM node:20
|
||||
|
||||
COPY ./dist /app/dist
|
||||
COPY ./node_modules /app/node_modules
|
||||
COPY ./public /app/public
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
CMD sh -c "node /app/dist/deploy.js && node /app/dist/main.js"
|
||||
Loading…
Add table
Add a link
Reference in a new issue