sotiriskot commited on
Commit
436556a
1 Parent(s): 7175725

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -24,6 +24,9 @@ EXPOSE 7860
24
  RUN --mount=type=secret,id=API_IP,mode=0444,required=true
25
  RUN --mount=type=secret,id=API_PORT,mode=0444,required=true
26
  RUN --mount=type=secret,id=API_ENDPOINT,mode=0444,required=true
 
 
 
27
 
28
  ENV PYTHONUNBUFFERED=1 \
29
  GRADIO_ALLOW_FLAGGING=never \
 
24
  RUN --mount=type=secret,id=API_IP,mode=0444,required=true
25
  RUN --mount=type=secret,id=API_PORT,mode=0444,required=true
26
  RUN --mount=type=secret,id=API_ENDPOINT,mode=0444,required=true
27
+ $(cat /run/secrets/API_IP)
28
+ $(cat /run/secrets/API_PORT)
29
+ $(cat /run/secrets/API_ENDPOINT)
30
 
31
  ENV PYTHONUNBUFFERED=1 \
32
  GRADIO_ALLOW_FLAGGING=never \