Skip to content

Commit

Permalink
Less looking around blindly during LFI
Browse files Browse the repository at this point in the history
  • Loading branch information
- committed May 1, 2024
1 parent 27e4c9a commit 10cd44b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion web/portal/setup/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,9 @@ COPY flag.txt /app
COPY app.py /app
COPY app-dev-version-abccdef.py /app

RUN echo '#app:x:999:999::/app:/bin/false' >> /etc/passwd

EXPOSE 3000

# Command to start services
CMD python3 app-dev-version-abccdef.py & python3 app.py
CMD python3 app-dev-version-abccdef.py & python3 app.py

0 comments on commit 10cd44b

Please sign in to comment.