radames commited on
Commit
04d0728
1 Parent(s): c2d82de

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -48,9 +48,10 @@ RUN pip install \
48
  matplotlib \
49
  ipywidgets \
50
  gradio
51
-
52
- RUN curl https://get.modular.com | sh - \
53
- && modular auth $MODULAR_AUTH \
 
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