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"]