Spaces:
Runtime error
Runtime error
make sure pkgconfig is installed
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -2,7 +2,9 @@ ARG RUNTIME=cpu
|
|
2 |
FROM ghcr.io/mlverse/torch:${RUNTIME}-main-release-focal
|
3 |
|
4 |
COPY DESCRIPTION DESCRIPTION
|
5 |
-
RUN apt-get update -y &&
|
|
|
|
|
6 |
|
7 |
# This is to make sure we don't run into permission problems in HF Spaces
|
8 |
# see: https://huggingface.co/docs/hub/spaces-sdks-docker#permissions
|
|
|
2 |
FROM ghcr.io/mlverse/torch:${RUNTIME}-main-release-focal
|
3 |
|
4 |
COPY DESCRIPTION DESCRIPTION
|
5 |
+
RUN apt-get update -y && \
|
6 |
+
apt-get install -y pkg-config && \
|
7 |
+
Rscript -e "pak::pak(lib=.Library)"
|
8 |
|
9 |
# This is to make sure we don't run into permission problems in HF Spaces
|
10 |
# see: https://huggingface.co/docs/hub/spaces-sdks-docker#permissions
|