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

Commit

Permalink
add user
Browse files Browse the repository at this point in the history
  • Loading branch information
glacialcascade committed Jun 10, 2024
1 parent d96501c commit b46c9f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions mathjail/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ RUN wget -O ynetd.c \
COPY ./flag.txt .

COPY ./pycalculator.py .

RUN adduser ctf
USER ctf

EXPOSE 3000
ENTRYPOINT ["./ynetd", "-p", "3000", "python3 ./pycalculator.py 2>&1"]

0 comments on commit b46c9f6

Please sign in to comment.