Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -26,6 +26,10 @@ RUN echo "-e ." > requirements.txt \
|
|
26 |
&& echo "ipywidgets" >> requirements.txt \
|
27 |
&& echo "gunicorn" >> requirements.txt
|
28 |
|
|
|
|
|
|
|
|
|
29 |
# Install Python dependencies
|
30 |
RUN pip install --no-cache-dir -r requirements.txt
|
31 |
|
|
|
26 |
&& echo "ipywidgets" >> requirements.txt \
|
27 |
&& echo "gunicorn" >> requirements.txt
|
28 |
|
29 |
+
# Create a directory for model cache with appropriate permissions
|
30 |
+
RUN mkdir -p $HOME/app/shap_e_model_cache
|
31 |
+
RUN chown -R user:user $HOME/app/shap_e_model_cache
|
32 |
+
|
33 |
# Install Python dependencies
|
34 |
RUN pip install --no-cache-dir -r requirements.txt
|
35 |
|