Spaces:
Sleeping
Sleeping
Commit ·
d69e067
1
Parent(s): 9b911d6
Add symbolic link for uvicorn in Dockerfile to ensure accessibility in the container
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -31,5 +31,6 @@ COPY pyproject.toml uv.lock ./
|
|
| 31 |
RUN pip install uv
|
| 32 |
|
| 33 |
RUN uv sync --frozen
|
| 34 |
-
|
|
|
|
| 35 |
CMD ["uvicorn","app:app","--host","0.0.0.0","--port","7860","--reload"]
|
|
|
|
| 31 |
RUN pip install uv
|
| 32 |
|
| 33 |
RUN uv sync --frozen
|
| 34 |
+
RUN ln -s /home/user/.local/bin/uvicorn /usr/local/bin/uvicorn
|
| 35 |
+
|
| 36 |
CMD ["uvicorn","app:app","--host","0.0.0.0","--port","7860","--reload"]
|