Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -14,6 +14,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
14 |
rm -rf /var/lib/apt/lists/*
|
15 |
COPY entrypoint.sh.template entrypoint.sh.template
|
16 |
|
|
|
|
|
|
|
|
|
17 |
RUN ls -ltr
|
18 |
RUN cat entrypoint.sh.template
|
19 |
RUN envsubst '$GRADIO_PORT, $MODEL_NAME, $QUANTIZATION' < "entrypoint.sh.template" > "entrypoint.sh"
|
|
|
14 |
rm -rf /var/lib/apt/lists/*
|
15 |
COPY entrypoint.sh.template entrypoint.sh.template
|
16 |
|
17 |
+
|
18 |
+
ENV GRADIO_PORT=$GRADIO_PORT
|
19 |
+
ENV MODEL_NAME=$MODEL_NAME
|
20 |
+
ENV QUANTIZATION=$QUANTIZATION
|
21 |
RUN ls -ltr
|
22 |
RUN cat entrypoint.sh.template
|
23 |
RUN envsubst '$GRADIO_PORT, $MODEL_NAME, $QUANTIZATION' < "entrypoint.sh.template" > "entrypoint.sh"
|