diff --git a/service/scripts/jobs-image/Dockerfile b/service/scripts/jobs-image/Dockerfile index c270a2eb..44a70636 100644 --- a/service/scripts/jobs-image/Dockerfile +++ b/service/scripts/jobs-image/Dockerfile @@ -11,13 +11,11 @@ RUN apt-get update \ ENV CHROME_BIN=/usr/bin/chromium \ CHROMEDRIVER_PATH=/usr/bin/chromedriver -# Install dependencies first so this layer is cached when only code changes. +# Install dependencies COPY service/scripts/jobs-image/requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -# Copy the job code. No secrets here, config is read from env vars at runtime. +# Copy the job code. COPY background-jobs/app/ ./ -# The complete script tree: new scripts are picked up by the next build without -# any Dockerfile change. Data-only folders are excluded via the root .dockerignore. COPY service/scripts/ ./service/scripts/