Skip to content

Commit 783b693

Browse files
committed
Fix #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
1 parent 9e73750 commit 783b693

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ LABEL org.opencontainers.image.description="My own custom 12ft.io replacement"
1818
LABEL org.opencontainers.image.documentation="https://github.com/wasi-master/13ft/blob/main/README.md"
1919
LABEL org.opencontainers.image.licenses=MIT
2020

21-
COPY /app /app
22-
WORKDIR /app
21+
COPY . .
2322
RUN pip install -r requirements.txt
23+
WORKDIR /app
2424
EXPOSE 5000
2525
ENTRYPOINT [ "python" ]
2626
CMD [ "portable.py" ]

0 commit comments

Comments
 (0)