From e73d4f00539fee73680ef005b5564189d7fa5428 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index fd758cf..51fbe8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ FROM python:3.12-slim -WORKDIR /app +RUN mkdir /app -COPY requirements.txt . -RUN pip install --no-cache-dir -r requirements.txt +COPY requirements.txt /app +RUN pip install --no-cache-dir -r /app/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"]