Commits

Jeppe Gravgaard authored b1c6ef437b7
added docker CI/CD structure
No tags

compose/development/docker-compose.yml

Added
1 +version: '3.6'
2 +
3 +# To create this run:
4 +# > docker network create maternity_net
5 +networks:
6 + maternity_net:
7 + external: true
8 +
9 +services:
10 + maternityweb:
11 + build:
12 + context: ../..
13 + dockerfile: dev.Dockerfile
14 + ports:
15 + - "4700:4700"
16 + networks:
17 + - maternity_net
18 + volumes:
19 + - ../../src:/app/src
20 + # make a watch build with webpack, serve it internally at post 8080, dont verify hosts
21 + command: npx ng serve --port 4700 --host 0.0.0.0 --disableHostCheck

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut