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