Refactor project
This commit is contained in:
parent
56ded46af5
commit
81b8cd5c94
28 changed files with 25 additions and 4 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal 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" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue