Ibraaheem commited on
Commit
0436e19
·
1 Parent(s): 11b94c1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -4
Dockerfile CHANGED
@@ -45,9 +45,5 @@ USER worker
45
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
46
  cat /run/secrets/OPENAI_API_KEY > /home/worker/test
47
 
48
- # Get secret SECRET_EXAMPLE and clone it as repo at buildtime
49
- RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
50
- git clone /run/secrets/OPENAI_API_KEY /home/worker/my_repo
51
-
52
  # Activate the virtual environment and run uvicorn
53
  CMD [".venv/bin/python", "-m", "uvicorn", "private_gpt.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
45
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
46
  cat /run/secrets/OPENAI_API_KEY > /home/worker/test
47
 
 
 
 
 
48
  # Activate the virtual environment and run uvicorn
49
  CMD [".venv/bin/python", "-m", "uvicorn", "private_gpt.main:app", "--host", "0.0.0.0", "--port", "7860"]