From 6e7a67f32e5d4a0af418624838d7081981c3e297 Mon Sep 17 00:00:00 2001 From: JannikStreek Date: Thu, 23 Feb 2023 22:19:18 +0100 Subject: [PATCH] fix docker image build (#150) --- Dockerfile | 2 ++ docker-compose-prod.yml | 2 ++ 2 files changed, 4 insertions(+) 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