From b5185b90e82a9aee3e2217c3316dda4c99e21835 Mon Sep 17 00:00:00 2001 From: "Charles P." Date: Sat, 1 Jun 2024 22:59:15 +0200 Subject: [PATCH] :ambulance: fix workdir being overridden by Actions --- Dockerfile | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd758cf..d883f53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,9 @@ FROM python:3.12-slim -WORKDIR /app - COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt -COPY modify_gtfs.py . -COPY action.yml . +COPY modify_gtfs.py /app +COPY action.yml /app -ENTRYPOINT ["python", "modify_gtfs.py"] +ENTRYPOINT ["python", "/app/modify_gtfs.py"]