diff --git a/mathjail/Dockerfile b/mathjail/Dockerfile index efc5500..b4965da 100644 --- a/mathjail/Dockerfile +++ b/mathjail/Dockerfile @@ -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"] \ No newline at end of file