May 2018
Intermediate to advanced
512 pages
11h 3m
English
The third and final stage generates the container that will be your web server. Once this stage is complete, the prior stages will be discarded and the end result will be an optimized sub-10 MB container:
Docker.integration...FROM duluca/minimal-nginx-web-server:1.13.8-alpineENV BUILDER_SRC_DIR /usr/srcCOPY --from=builder $BUILDER_SRC_DIR/dist /var/wwwCMD 'nginx'
$ docker build -f Dockerfile.integration .
Read now
Unlock full access