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 7 months ago

mfhepp commented 7 months ago

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

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

mfhepp commented 7 months ago

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