Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
copy over the working dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
glacialcascade committed Jun 7, 2024
1 parent 235ffbf commit 8ae55ff
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions michaelsoft-gring/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM python:3.12-slim-bookworm
FROM python:3.12

WORKDIR /app

RUN useradd -m bcactf && chown -R bcactf:bcactf /app && chmod -R 775 /app
RUN useradd -m bcactf && chown -R bcactf:bcactf /app

USER bcactf
ENV PATH $PATH:/home/bcactf/.local/bin
RUN pip install flask

COPY . .

USER bcactf
EXPOSE 5000
ENTRYPOINT ["python", "server.py"]
CMD ["python", "server.py"]

0 comments on commit 8ae55ff

Please sign in to comment.