Fix physics

This commit is contained in:
schmelczerandras 2020-10-12 20:49:17 +02:00
parent 37954e2ef1
commit f9f6825776
51 changed files with 832 additions and 541 deletions

View file

@ -1,17 +1,15 @@
FROM node:14.13.0-alpine3.10 as base
FROM node:14.13.0-alpine3.10 as build
COPY . .
RUN npm install && npm run initialize && npm run build
FROM node:14.13.0-alpine3.10
COPY backend/package.json .
RUN npm install --production
COPY --from=base backend/dist/main.js main.js
COPY --from=build backend/dist/main.js main.js
EXPOSE 3000
CMD [ "node", "main.js" ]