mfhepp / py4docker

Template for running Python 3.x shell scripts and notebooks in a Docker container for isolation, security, and portability
MIT License
2 stars 0 forks source link

Do not copy entire source directory to image #10

Open mfhepp opened 11 months ago

mfhepp commented 11 months ago

COPY src/ ./ includes e.g. the Dockerfile.

Either use more specific command or exclude more files via .dockerignore.

mfhepp commented 10 months ago

Also the COPY command is unnecessary when a Notebook image is built.