Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -48,9 +48,10 @@ RUN pip install \
|
|
48 |
matplotlib \
|
49 |
ipywidgets \
|
50 |
gradio
|
51 |
-
|
52 |
-
RUN
|
53 |
-
|
|
|
54 |
&& modular install mojo
|
55 |
|
56 |
RUN useradd -m -u 1000 user
|
|
|
48 |
matplotlib \
|
49 |
ipywidgets \
|
50 |
gradio
|
51 |
+
|
52 |
+
RUN --mount=type=secret,id=MODULAR_AUTH,mode=0444,required=true \
|
53 |
+
curl https://get.modular.com | sh - \
|
54 |
+
&& modular auth $(MODULAR_AUTH) \
|
55 |
&& modular install mojo
|
56 |
|
57 |
RUN useradd -m -u 1000 user
|