Fix angular (#14)

Co-authored-by: Sieciech <www.sieciech@gmail.com>
Reviewed-on: http://git.fufle.net/Community/CureNet/pulls/14
Co-Authored-By: Sieciech <sieciech@noreply.fufle.net>
Co-Committed-By: Sieciech <sieciech@noreply.fufle.net>
This commit is contained in:
Michał Sieciechowicz 2021-07-23 19:21:40 +00:00
parent 3fbd6d5b50
commit c7f4e68a06
3 changed files with 8 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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