Added docker stuff

This commit is contained in:
mrfry 2021-08-01 13:18:35 +02:00
parent cc19b5424b
commit 6ea1ec3958
4 changed files with 60 additions and 10 deletions

15
Dockerfile Normal file
View file

@ -0,0 +1,15 @@
FROM node:16
WORKDIR /server
COPY package.json ./
COPY package-lock.json ./
RUN npm i
COPY . .
RUN npm run export
CMD [ "bash", "scripts/make.sh" ]
CMD [ "npm", "run", "start" ]
EXPOSE 80
EXPOSE 8080