diff --git a/Dockerfile b/Dockerfile index 96f0e7a0..c0f5a61a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,6 +29,8 @@ RUN npm run build:backend:prod COPY --chown=node:node teammapper-frontend $APP_FRONTEND_PATH/ RUN GENERATE_SOURCEMAP=false npm run build:frontend:prod +RUN mv $APP_FRONTEND_PATH/dist $APP_BACKEND_PATH/client + COPY --chown=node:node entrypoint.prod.sh $APP_PATH/ CMD ["./entrypoint.prod.sh"] diff --git a/docker-compose-prod.yml b/docker-compose-prod.yml index 281fc738..4dc37e36 100644 --- a/docker-compose-prod.yml +++ b/docker-compose-prod.yml @@ -2,6 +2,8 @@ version: "3.8" services: app_prod: + tty: true + stdin_open: true build: context: . dockerfile: Dockerfile