From 447d00fd877904f05f3fc28db449c2fd0b9f8625 Mon Sep 17 00:00:00 2001 From: Sieciech Date: Fri, 23 Jul 2021 21:17:23 +0200 Subject: [PATCH] fix --- docker/Dockerfile | 2 +- docker/docker-compose.yml | 7 ++++++- docker/startup.sh | 2 +- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 3f01d67..b6fbb8f 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -43,7 +43,7 @@ VOLUME /web/backend/vendor VOLUME /web/backend/var VOLUME /web/frontend/node_modules -EXPOSE 7700 7780 7781 +EXPOSE 7700 7780 7781 49153 STOPSIGNAL SIGQUIT diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4678e24..b165d7b 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -4,13 +4,18 @@ services: build: . ports: - 7700:7700 + - 49153:49153 expose: - 7780:7780 - 7781:7781 volumes: - .:/web/config - ../src/backend:/web/backend:cached - - ../src/frontend:/web/frontend:cached + - type: bind + target: /web/frontend + source: ../src/frontend + volume: + nocopy: true - ./logs:/var/log - vendor:/web/backend/vendor - var:/web/backend/var diff --git a/docker/startup.sh b/docker/startup.sh index 0acb263..19336ff 100644 --- a/docker/startup.sh +++ b/docker/startup.sh @@ -42,4 +42,4 @@ echo "> Configure angular" npm ci echo "> Starting angular" - ng serve + ng serve --disable-host-check --host 0.0.0.0 --poll -- 2.39.5