Delete Dockerfile
Browse files- Dockerfile +0 -30
Dockerfile
DELETED
|
@@ -1,30 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Install system dependencies including git-lfs
|
| 6 |
-
RUN apt-get update && apt-get install -y \
|
| 7 |
-
wget \
|
| 8 |
-
curl \
|
| 9 |
-
git \
|
| 10 |
-
git-lfs \
|
| 11 |
-
&& git lfs install \
|
| 12 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 13 |
-
|
| 14 |
-
# Copy requirements and install Python dependencies
|
| 15 |
-
COPY requirements.txt .
|
| 16 |
-
|
| 17 |
-
RUN pip install flask transformers torch accelerate
|
| 18 |
-
|
| 19 |
-
# Copy application code
|
| 20 |
-
COPY app.py .
|
| 21 |
-
|
| 22 |
-
RUN chmod -R 777 /app
|
| 23 |
-
# Create directories
|
| 24 |
-
RUN mkdir -p /app/models /app/data
|
| 25 |
-
|
| 26 |
-
# Expose port
|
| 27 |
-
EXPOSE 7860
|
| 28 |
-
|
| 29 |
-
# Run the application
|
| 30 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|