added training
This commit is contained in:
14
training/srdnlenctf-2025/web_Ben10/Dockerfile
Normal file
14
training/srdnlenctf-2025/web_Ben10/Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /app
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 5000
|
||||
|
||||
ENV FLASK_ENV=production
|
||||
ENV FLAG="srdnlen{test_flag}"
|
||||
|
||||
CMD ["flask", "run", "--host=0.0.0.0"]
|
||||
Reference in New Issue
Block a user