Added Nginx-Flask bypass example
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user