xyplon commited on
Commit
f555f13
·
verified ·
1 Parent(s): 64c8a89

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -22
Dockerfile DELETED
@@ -1,22 +0,0 @@
1
- # Use the Python 3.9 slim image as the base
2
- FROM python:3.9-slim
3
-
4
- # Set working directory inside the container
5
- WORKDIR /app
6
-
7
- # Copy the current directory contents into the container at /app
8
- COPY . .
9
-
10
- # Install Gunicorn and your application dependencies
11
- RUN pip install --no-cache-dir -r requirements.txt
12
- RUN pip install gunicorn gevent
13
- # Expose the port that Gunicorn will listen on
14
- EXPOSE 7860
15
-
16
- # Set environment variables for Flask application
17
- ENV FLASK_APP=app.py
18
- ENV FLASK_RUN_HOST=0.0.0.0
19
- ENV FLASK_RUN_PORT=7860
20
-
21
- # Run the Gunicorn server with the appropriate worker class (gthread)
22
- CMD ["gunicorn", "-w", "2", "-k", "gevent", "-b", "0.0.0.0:7860", "app:app"]