From 783b6936bbadb5554f55bafe7f8c7bdf516383ed Mon Sep 17 00:00:00 2001 From: Wasi Master Date: Wed, 1 Nov 2023 23:35:34 +0600 Subject: [PATCH] Fix https://github.com/wasi-master/13ft/issues/11 The problem was that the working directory was being changed to app and since requirements.txt is actually in the root folder not the app directory the command to install this wasn't running correctly --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index eb32662..460d334 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,9 +18,9 @@ LABEL org.opencontainers.image.description="My own custom 12ft.io replacement" LABEL org.opencontainers.image.documentation="https://github.com/wasi-master/13ft/blob/main/README.md" LABEL org.opencontainers.image.licenses=MIT -COPY /app /app -WORKDIR /app +COPY . . RUN pip install -r requirements.txt +WORKDIR /app EXPOSE 5000 ENTRYPOINT [ "python" ] CMD [ "portable.py" ] \ No newline at end of file