Damien Benveniste commited on
Commit
474131a
1 Parent(s): 2121260

changed docker

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -12,10 +12,10 @@ COPY --chown=user ./requirements.txt requirements.txt
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  RUN --mount=type=secret,id=PINECONE_API_KEY,mode=0444,required=true \
15
- cat /run/secrets/PINECONE_API_KEY > /test
16
 
17
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
18
- cat /run/secrets/OPENAI_API_KEY > /test
19
 
20
  COPY --chown=user . /app
21
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
 
12
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
13
 
14
  RUN --mount=type=secret,id=PINECONE_API_KEY,mode=0444,required=true \
15
+ cat /run/secrets/PINECONE_API_KEY > /app/test
16
 
17
  RUN --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
18
+ cat /run/secrets/OPENAI_API_KEY > /app/test
19
 
20
  COPY --chown=user . /app
21
  CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]