Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -9,5 +9,5 @@ WORKDIR /app
|
|
| 9 |
COPY --from=builder /wheels /wheels
|
| 10 |
RUN pip install --no-cache-dir /wheels/* fastapi "uvicorn[standard]" requests
|
| 11 |
COPY . /app
|
| 12 |
-
EXPOSE
|
| 13 |
-
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "
|
|
|
|
| 9 |
COPY --from=builder /wheels /wheels
|
| 10 |
RUN pip install --no-cache-dir /wheels/* fastapi "uvicorn[standard]" requests
|
| 11 |
COPY . /app
|
| 12 |
+
EXPOSE 7860
|
| 13 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"]
|