Refactor project

This commit is contained in:
atxr 2024-03-01 10:45:54 +01:00
parent 56ded46af5
commit 81b8cd5c94
28 changed files with 25 additions and 4 deletions

20
Dockerfile Normal file
View file

@ -0,0 +1,20 @@
FROM ubuntu:22.04
RUN apt-get update
RUN useradd -m -s /bin/bash user
USER user
WORKDIR /home/user
COPY dist/mineziperd .
COPY webapp .
COPY flag.txt .
RUN ./mineziperd &
WORKDIR /home/user/webapp
RUN pip install -r requirements.txt
ENTRYPOINT [ "python3" ]
CMD [ "app.py" ]