Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -11
Dockerfile
CHANGED
@@ -18,19 +18,9 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-ins
|
|
18 |
rm -rf /var/lib/apt/lists/*
|
19 |
COPY entrypoint.sh.template entrypoint.sh.template
|
20 |
|
21 |
-
|
22 |
-
RUN echo $QUANTIZATION
|
23 |
-
|
24 |
-
ENV GRADIO_PORT=$GRADIO_PORT
|
25 |
-
ENV MODEL_NAME=$MODEL_NAME
|
26 |
-
ENV QUANTIZATION=$QUANTIZATION
|
27 |
-
|
28 |
-
RUN echo $QUANTIZATION
|
29 |
-
|
30 |
RUN ls -ltr
|
31 |
RUN cat entrypoint.sh.template
|
32 |
-
RUN
|
33 |
-
envsubst '$GRADIO_PORT, $MODEL_NAME, $QUANTIZATION' < "entrypoint.sh.template" > "entrypoint.sh"
|
34 |
RUN cat entrypoint.sh
|
35 |
|
36 |
RUN mkdir -p /data/db
|
|
|
18 |
rm -rf /var/lib/apt/lists/*
|
19 |
COPY entrypoint.sh.template entrypoint.sh.template
|
20 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
21 |
RUN ls -ltr
|
22 |
RUN cat entrypoint.sh.template
|
23 |
+
RUN envsubst < "entrypoint.sh.template" > "entrypoint.sh"
|
|
|
24 |
RUN cat entrypoint.sh
|
25 |
|
26 |
RUN mkdir -p /data/db
|