Spaces:
Sleeping
Sleeping
Dhruva P Gowda commited on
Commit ·
e53bb90
1
Parent(s): d801307
Fix Render build context: rely on defaults and remove duplicate Dockerfile
Browse files- backend/Dockerfile +0 -8
- render.yaml +0 -2
backend/Dockerfile
DELETED
|
@@ -1,8 +0,0 @@
|
|
| 1 |
-
FROM python:3.11-slim
|
| 2 |
-
WORKDIR /app
|
| 3 |
-
RUN apt-get update && apt-get install -y gcc g++ && rm -rf /var/lib/apt/lists/*
|
| 4 |
-
COPY backend/requirements.txt .
|
| 5 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
-
COPY . .
|
| 7 |
-
ENV PORT=8080
|
| 8 |
-
CMD uvicorn backend.app.main:app --host 0.0.0.0 --port ${PORT}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render.yaml
CHANGED
|
@@ -5,8 +5,6 @@ services:
|
|
| 5 |
region: singapore
|
| 6 |
plan: free
|
| 7 |
healthCheckPath: /healthz
|
| 8 |
-
rootDir: .
|
| 9 |
-
dockerFilePath: Dockerfile
|
| 10 |
envVars:
|
| 11 |
- key: GEMINI_API_KEY
|
| 12 |
sync: false
|
|
|
|
| 5 |
region: singapore
|
| 6 |
plan: free
|
| 7 |
healthCheckPath: /healthz
|
|
|
|
|
|
|
| 8 |
envVars:
|
| 9 |
- key: GEMINI_API_KEY
|
| 10 |
sync: false
|