From d47e1ce80dd493baecba0bff95a4733d6a112216 Mon Sep 17 00:00:00 2001 From: tdeerenberg <113618658+tdeerenberg@users.noreply.github.com> Date: Sun, 16 Apr 2023 19:34:02 +0200 Subject: [PATCH] Update dockerfile changed the working directory to / (root) and entrypoint to /musort.py --- dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfile b/dockerfile index ff3d39c..9be9da9 100644 --- a/dockerfile +++ b/dockerfile @@ -2,7 +2,7 @@ FROM python:3.10-slim # Probably should do update/upgrade for any CVEs -WORKDIR /app +WORKDIR / # Set up requirements COPY requirements.txt requirements.txt @@ -11,7 +11,7 @@ RUN python3 -m pip install pip --upgrade --no-cache-dir && \ python3 -m pip install -r requirements.txt --no-cache-dir # Copy in code -COPY ./src/musort.py musort.py +COPY ./src/musort-docker.py /musort.py # docker run --name musort --rm -it musort --help -ENTRYPOINT ["python3", "/app/musort.py"] +ENTRYPOINT ["python3", "/musort.py"]