Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +5 -4
Dockerfile
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
-
# Install system dependencies
|
| 4 |
RUN apt-get update && apt-get install -y build-essential cmake
|
| 5 |
|
| 6 |
# Create cache directory
|
|
@@ -13,7 +13,8 @@ COPY . .
|
|
| 13 |
# Install Python dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
-
# Expose correct port
|
| 17 |
-
EXPOSE
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
| 1 |
FROM python:3.9
|
| 2 |
|
| 3 |
+
# Install system dependencies
|
| 4 |
RUN apt-get update && apt-get install -y build-essential cmake
|
| 5 |
|
| 6 |
# Create cache directory
|
|
|
|
| 13 |
# Install Python dependencies
|
| 14 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 15 |
|
| 16 |
+
# Expose correct port (matches space.yaml)
|
| 17 |
+
EXPOSE 8080
|
| 18 |
|
| 19 |
+
# Run the unified application
|
| 20 |
+
CMD ["python", "app.py"]
|