Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -18
Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
# Base image with Python and necessary tools
|
| 2 |
-
FROM python:3.12-slim
|
| 3 |
-
|
| 4 |
-
# Set the working directory in the container
|
| 5 |
-
WORKDIR /app
|
| 6 |
-
|
| 7 |
-
# Copy the application files to the container
|
| 8 |
-
COPY . /app
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
# Install Python dependencies
|
| 12 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 13 |
-
|
| 14 |
-
ENV TRANSFORMERS_CACHE=/tmp
|
| 15 |
-
ENV PORT=7860
|
| 16 |
-
|
| 17 |
-
# Command to run the application
|
| 18 |
-
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860", "--workers", "2"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|