frimponge commited on
Commit
da06fc4
·
verified ·
1 Parent(s): 211868f

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -26
Dockerfile DELETED
@@ -1,26 +0,0 @@
1
- # File: Dockerfile
2
-
3
- # Use an official Python runtime as a parent image
4
- FROM python:3.10-slim
5
-
6
-
7
- # Create and set the working directory
8
- WORKDIR /app
9
-
10
- # Copy the requirements file into the container
11
- COPY requirements.txt /app/
12
-
13
- # Install any needed packages specified in requirements.txt
14
- RUN pip install --no-cache-dir -r requirements.txt
15
-
16
- # Copy the rest of the application code into the container
17
- COPY . /app
18
-
19
- # Install Gunicorn
20
- RUN pip install gunicorn
21
-
22
- # Expose the port that the app runs on
23
- EXPOSE 5000
24
-
25
- # Command to run the application using Gunicorn
26
- CMD ["gunicorn", "app:app", "-b", "0.0.0.0:5000", "-w", "2", "--threads", "4", "--timeout", "120"]