Docker fixes

This commit is contained in:
mrfry 2021-08-01 13:52:53 +02:00
parent 8c784e2472
commit 2eb6bb9a49
5 changed files with 36 additions and 11 deletions

View file

@ -4,12 +4,13 @@ WORKDIR /server
COPY package.json ./
COPY package-lock.json ./
RUN npm i
# RUN npm i
COPY . .
RUN npm run export
# RUN npm run export
CMD [ "bash", "scripts/make.sh" ]
CMD [ "npm", "run", "start" ]
# CMD [ "bash", "scripts/make.sh" ]
# CMD [ "npm", "run", "start" ]
CMD [ "scripts/start.sh" ]
EXPOSE 80
EXPOSE 8080