Delete Dockerfile
Browse files- Dockerfile +0 -38
Dockerfile
DELETED
@@ -1,38 +0,0 @@
|
|
1 |
-
# # Base image for Python and dependencies
|
2 |
-
# FROM python:3.11-slim
|
3 |
-
|
4 |
-
# # Set environment variables for Hugging Face token
|
5 |
-
# #ENV HUGGINGFACE_TOKEN=$HUGGINGFACE_TOKEN
|
6 |
-
|
7 |
-
# # Set the working directory inside the container
|
8 |
-
# WORKDIR /app
|
9 |
-
|
10 |
-
# # Copy requirements.txt to the working directory
|
11 |
-
# COPY requirements.txt .
|
12 |
-
|
13 |
-
# # Install required Python packages
|
14 |
-
# RUN pip install --no-cache-dir -r requirements.txt
|
15 |
-
|
16 |
-
# # Copy the entire project to the working directory
|
17 |
-
# COPY . .
|
18 |
-
|
19 |
-
# # Expose the port Flask will run on
|
20 |
-
# EXPOSE 5000
|
21 |
-
|
22 |
-
# # Command to run the Flask app
|
23 |
-
# CMD ["flask", "run", "--host=0.0.0.0", "--port=5000"]
|
24 |
-
|
25 |
-
|
26 |
-
FROM python:3.10
|
27 |
-
|
28 |
-
WORKDIR /app
|
29 |
-
|
30 |
-
COPY . /app
|
31 |
-
|
32 |
-
#RUN pip install -r requirements.txt
|
33 |
-
|
34 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
35 |
-
|
36 |
-
EXPOSE 80
|
37 |
-
|
38 |
-
CMD ["gunicorn", "-b", ":80","--timeout", "300", "app:app"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|