From dabd47df9d2f6eb1c3ffc5ac90dcf2b76757b500 Mon Sep 17 00:00:00 2001 From: oittaa <8972248+oittaa@users.noreply.github.com> Date: Thu, 17 Feb 2022 20:30:40 +0100 Subject: [PATCH] Explicitly copy files to Docker images (#140) --- .dockerignore | 24 ------------------------ Dockerfile | 3 ++- 2 files changed, 2 insertions(+), 25 deletions(-) delete mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index 09d7b11..0000000 --- a/.dockerignore +++ /dev/null @@ -1,24 +0,0 @@ -*,cover -*.egg-info -*.log -*.pyc -*.pyd -*.pyo -.Python -.cache -.cloudstorage -.coverage -.coverage.* -.editorconfig -.git -.pytest_cache -.tox -.vscode -__pycache__ -coverage.xml -env -nosetests.xml -pip-delete-this-directory.txt -pip-log.txt -requirements-dev.txt -venv diff --git a/Dockerfile b/Dockerfile index a6f6fdd..44cc019 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,8 @@ ENV STORAGE_DIR storage # Python app installation WORKDIR $APP_HOME -COPY . ./ +COPY README.md pyproject.toml setup.py ./ +COPY gcp_storage_emulator gcp_storage_emulator/ RUN pip install . ENTRYPOINT ["gcp-storage-emulator"]