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

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -47,7 +47,7 @@ RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
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 $(cat /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"]
 
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"]