AJMC2002 commited on
Commit
37e3a8e
·
verified ·
1 Parent(s): 54e9b2d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -12
Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM ghcr.io/livebook-dev/livebook:latest-cuda12
2
 
3
  ENV LIVEBOOK_APP_SERVICE_NAME="🐳 Hugging Face - $SPACE_TITLE"
4
  ENV LIVEBOOK_APP_SERVICE_URL="https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME"
@@ -23,15 +23,4 @@ USER user
23
  COPY --chown=user public-apps/ /public-apps
24
  COPY --chown=user plates/ /home/user/plates
25
 
26
- USER root
27
- RUN apt-get install libcudnn8
28
- RUN apt-get install libcudnn8-dev
29
- RUN apt-get install libcudnn8-samples
30
- #RUN wget https://developer.download.nvidia.com/compute/cudnn/redist/cudnn/linux-x86_64/cudnn-linux-x86_64-9.1.0.70_cuda12-archive.tar.xz
31
- #RUN tar -xvf cudnn-linux-x86_64-9.1.0.70_cuda12-archive.tar.xz
32
- #RUN cp -P cudnn-linux-x86_64-9.1.0.70_cuda12-archive/include/cudnn.h /usr/local/cuda-12.6/include
33
- #RUN cp -P cudnn-linux-x86_64-9.1.0.70_cuda12-archive/lib/libcudnn* /usr/local/cuda-12.6/lib64/
34
- #RUN chmod a+r /usr/local/cuda-12.6/lib64/libcudnn*
35
- USER user
36
-
37
  RUN /app/bin/warmup_apps
 
1
+ FROM ghcr.io/livebook-dev/livebook:latest-cuda11.8
2
 
3
  ENV LIVEBOOK_APP_SERVICE_NAME="🐳 Hugging Face - $SPACE_TITLE"
4
  ENV LIVEBOOK_APP_SERVICE_URL="https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME"
 
23
  COPY --chown=user public-apps/ /public-apps
24
  COPY --chown=user plates/ /home/user/plates
25
 
 
 
 
 
 
 
 
 
 
 
 
26
  RUN /app/bin/warmup_apps