From 9628dfcdf5b9684f98343adf0d01b43b9da538d8 Mon Sep 17 00:00:00 2001 From: Alyssa Dai Date: Mon, 4 Nov 2024 17:04:04 -0500 Subject: [PATCH] only copy required files into Docker image --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fecbfd7e..358cea31 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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