Image build
ENV
For the development environment, the docker-compose file needs an .env file:
The .env from the quick setup can also be used as a good example.
NPM-Registry
The latest (v1.1.12) version can be used to specify the npm registry to build the software in the image. With this information you can specify your own package manager server. This can save traffic or specifically check dependencies.
So that docker knows the registry URL when building the image, simply specify the argument.
For the developers docker-compose-file, specify the following in the .env file:
For example, for this URL I used Nexus' packet management: https://www.sonatype.com/products/sonatype-nexus-repository
Last updated