khawir commited on
Commit
b1b9dab
·
2 Parent(s): 9f88c40 34580ae

Merge https://huggingface.co/spaces/khawir/pulse-be

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -0
Dockerfile CHANGED
@@ -11,4 +11,13 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
 
 
 
 
 
 
 
 
 
 
14
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
11
 
12
  COPY . .
13
 
14
+ RUN --mount=type=secret,id=SECRET_KEY,mode=0444,required=true
15
+ RUN --mount=type=secret,id=ALGORITHM,mode=0444,required=true
16
+ RUN --mount=type=secret,id=ACCESS_TOKEN_EXPIRE_MINUTES,mode=0444,required=true
17
+ RUN --mount=type=secret,id=DB_SQLITE,mode=0444,required=true
18
+ RUN --mount=type=secret,id=SU_NAME,mode=0444,required=true
19
+ RUN --mount=type=secret,id=SU_PASSWORD,mode=0444,required=true
20
+ RUN --mount=type=secret,id=EZV_KEY,mode=0444,required=true
21
+ RUN --mount=type=secret,id=EZV_SECRET,mode=0444,required=true
22
+
23
  CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]