Spaces:
Build error
Build error
Delete Dockerfile
Browse files- Dockerfile +0 -22
Dockerfile
DELETED
|
@@ -1,22 +0,0 @@
|
|
| 1 |
-
FROM python:3.10-slim
|
| 2 |
-
|
| 3 |
-
WORKDIR /app
|
| 4 |
-
|
| 5 |
-
# Install system dependencies
|
| 6 |
-
RUN apt-get update && apt-get install -y \
|
| 7 |
-
gcc \
|
| 8 |
-
g++ \
|
| 9 |
-
&& rm -rf /var/lib/apt/lists/*
|
| 10 |
-
|
| 11 |
-
# Copy requirements first to leverage Docker cache
|
| 12 |
-
COPY head_node/requirements.txt .
|
| 13 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 14 |
-
|
| 15 |
-
# Copy application code
|
| 16 |
-
COPY . .
|
| 17 |
-
|
| 18 |
-
# Expose port for the API
|
| 19 |
-
EXPOSE 7860
|
| 20 |
-
|
| 21 |
-
# Start the application
|
| 22 |
-
CMD ["python", "app.py"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|