Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -5
Dockerfile
CHANGED
@@ -40,8 +40,5 @@ COPY --chown=worker *.yaml *.md ./
|
|
40 |
|
41 |
USER worker
|
42 |
|
43 |
-
#
|
44 |
-
|
45 |
-
|
46 |
-
#ENTRYPOINT .venv/bin/python -m private_gpt
|
47 |
-
CMD ["uvicorn", "private_gpt:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
40 |
|
41 |
USER worker
|
42 |
|
43 |
+
# Activate the virtual environment and run uvicorn
|
44 |
+
CMD [".venv/bin/uvicorn", "private_gpt:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
|
|