version: '3.6' # To create this run: # > docker network create maternity_net networks: maternity_net: external: true services: maternityweb: build: context: ../.. dockerfile: dev.Dockerfile ports: - "4700:4700" networks: - maternity_net volumes: - ../../src:/app/src # make a watch build with webpack, serve it internally at post 8080, dont verify hosts, set the baseref to the proxied path and publish the socket command: npx ng serve --port 4700 --host 0.0.0.0 --disableHostCheck --baseHref=/graviditetsmappen/ --publicHost="http://localhost:4700/"