Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -24,6 +24,10 @@ WORKDIR /app/src
|
|
24 |
# Expose the port that Gradio will run on
|
25 |
EXPOSE 7860
|
26 |
|
|
|
|
|
|
|
|
|
27 |
ENV PYTHONUNBUFFERED=1 \
|
28 |
GRADIO_ALLOW_FLAGGING=never \
|
29 |
GRADIO_NUM_PORTS=1 \
|
|
|
24 |
# Expose the port that Gradio will run on
|
25 |
EXPOSE 7860
|
26 |
|
27 |
+
RUN --mount=type=secret,id=API_IP,mode=0444,required=true
|
28 |
+
RUN --mount=type=secret,id=API_PORT,mode=0444,required=true
|
29 |
+
RUN --mount=type=secret,id=API_ENDPOINT,mode=0444,required=true
|
30 |
+
|
31 |
ENV PYTHONUNBUFFERED=1 \
|
32 |
GRADIO_ALLOW_FLAGGING=never \
|
33 |
GRADIO_NUM_PORTS=1 \
|