Added Nginx-Flask bypass example

This commit is contained in:
dub-flow
2024-05-15 15:54:34 +02:00
parent 3c64f44e86
commit 01ee900980
7 changed files with 224 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-alpine
WORKDIR /app
COPY Pipfile Pipfile.lock /app/
RUN pip install pipenv
# Activate the virtual environment and install dependencies
RUN pipenv install --deploy --system
# Copy the rest of the application code to the working directory
COPY . /app/
EXPOSE 5000
CMD ["python", "app.py"]