Adds dockerfile
This commit is contained in:
parent
ae19b7e6d9
commit
acfd967aee
1 changed files with 9 additions and 0 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/main.js"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue