Spaces:
Sleeping
Sleeping
Delete Dockerfile
Browse files- Dockerfile +0 -18
Dockerfile
DELETED
|
@@ -1,18 +0,0 @@
|
|
| 1 |
-
|
| 2 |
-
# Dockerfile
|
| 3 |
-
FROM python:3.11
|
| 4 |
-
|
| 5 |
-
# Install backend dependencies
|
| 6 |
-
COPY requirements.txt /app/requirements.txt
|
| 7 |
-
WORKDIR /app
|
| 8 |
-
RUN pip install -r requirements.txt
|
| 9 |
-
|
| 10 |
-
# Copy backend and frontend
|
| 11 |
-
COPY app.py /app/app.py
|
| 12 |
-
COPY index.html /app/index.html
|
| 13 |
-
|
| 14 |
-
# Add CORS and serve index.html statically
|
| 15 |
-
RUN mkdir -p /app/static
|
| 16 |
-
|
| 17 |
-
# Run both backend (FastAPI) and static file server
|
| 18 |
-
CMD uvicorn app:app --host 0.0.0.0 --port 7860
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|