Ibraaheem commited on
Commit
28918f9
·
1 Parent(s): aa249b7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -40,8 +40,5 @@ COPY --chown=worker *.yaml *.md ./
40
 
41
  USER worker
42
 
43
- # Ensure the 'meta.json' file has the correct permissions
44
- RUN touch local_data/private_gpt/qdrant/meta.json && chown worker local_data/private_gpt/qdrant/meta.json
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"]