Skip to content

Commit

Permalink
only copy required files into Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssadai committed Nov 4, 2024
1 parent a0612d0 commit 9628dfc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@
FROM python:3.10-slim-buster

WORKDIR /app
COPY . /app/src
COPY requirements.txt pyproject.toml setup.cfg setup.py /app/src/
COPY bagel /app/src/bagel
COPY pipeline-catalog /app/src/pipeline-catalog

# To have a deterministic build, we
# 1. install the environment from our lockfile
RUN pip install -r /app/src/requirements.txt
Expand Down

0 comments on commit 9628dfc

Please sign in to comment.