> distributino/docker-compose.yml -> compose.yml in the root, paths in file updated > Dockerfile -> deploy/webgui/Containerfile > deploy/webgui/Containerfile now with FROM localhost/webgui-deps > New: deploy/webgui-deps/Containerfile with all cpan modules (and apt block that was above it) all modules their own RUN cpanm --notest line ENV PERL_CPANM_OPT to use cpan-mirror README.md, CONTEXT.md and .dockerignore updated --no-cache --force -> --notest (so i can test)
15 lines
392 B
Text
15 lines
392 B
Text
# https://medium.com/@bounouh.fedi/mastering-the-dockerignore-file-boosting-docker-build-efficiency-398719f4a0e1
|
|
|
|
# Ignore version control (directories), not needed in container
|
|
.git
|
|
.git/
|
|
.gitignore
|
|
|
|
# If we're cacheing cpan modules, so they are not downloaded every time
|
|
# ignore these caches in the container
|
|
.cpanrc
|
|
cpan-cache/
|
|
|
|
# Ignore Docker-related files
|
|
Containerfile*
|
|
.dockerignore
|