Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -15,5 +15,8 @@ RUN --mount=type=secret,id=GITHUB_TOKEN,mode=0444,required=true \
|
|
| 15 |
COPY static /app/static
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt \
|
| 17 |
|| (echo "PIP INSTALL FAILED!" && exit 1)
|
|
|
|
|
|
|
|
|
|
| 18 |
EXPOSE 7860
|
| 19 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
|
| 15 |
COPY static /app/static
|
| 16 |
RUN pip install --no-cache-dir -r requirements.txt \
|
| 17 |
|| (echo "PIP INSTALL FAILED!" && exit 1)
|
| 18 |
+
|
| 19 |
+
RUN R -e "install.packages('fastshap', repos='https://cloud.r-project.org/')"
|
| 20 |
+
|
| 21 |
EXPOSE 7860
|
| 22 |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|