Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -26,9 +26,9 @@ RUN mkdir defaults
|
|
26 |
ADD defaults /defaults
|
27 |
RUN chmod -R 777 /defaults
|
28 |
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
33 |
&& rm entrypoint.sh.template
|
34 |
|
|
|
26 |
ADD defaults /defaults
|
27 |
RUN chmod -R 777 /defaults
|
28 |
|
29 |
+
# && MODEL_PARAMS="${MODEL_PARAMS:="$(cat /defaults/MODEL_PARAMS)"}" && export MODEL_PARAMS && \
|
30 |
+
# && MODEL_PROMPT_TEMPLATE="${MODEL_PROMPT_TEMPLATE:="$(cat /defaults/MODEL_PROMPT_TEMPLATE)"}" && export MODEL_PROMPT_TEMPLATE && \
|
31 |
+
RUN MODEL_NAME="${MODEL_NAME:="$(cat /defaults/MODEL_NAME)"}" && export MODEL_NAME && \
|
32 |
envsubst < "entrypoint.sh.template" > "entrypoint.sh" \
|
33 |
&& rm entrypoint.sh.template
|
34 |
|