Skip to content

Commit

Permalink
fix docker image build (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
JannikStreek authored Feb 23, 2023
1 parent d25fac8 commit 6e7a67f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

Expand Down
2 changes: 2 additions & 0 deletions docker-compose-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ version: "3.8"

services:
app_prod:
tty: true
stdin_open: true
build:
context: .
dockerfile: Dockerfile
Expand Down

0 comments on commit 6e7a67f

Please sign in to comment.