Spaces:
Runtime error
Runtime error
FROM ghcr.io/livebook-dev/livebook:latest-cuda11.8 | |
# apt-get required packages | |
RUN apt-get update -yqq && apt-get install -yqq git ffmpeg | |
RUN git clone https://github.com/simonthum/git-sync.git /home/livebook/git-sync | |
ENV LIVEBOOK_APP_SERVICE_NAME "π³ Hugging Face - $SPACE_TITLE" | |
ENV LIVEBOOK_APP_SERVICE_URL "https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME" | |
ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL "https://livebook.dev" | |
ENV LIVEBOOK_WITHIN_IFRAME "true" | |
ENV LIVEBOOK_DATA_PATH "/data" | |
ENV LIVEBOOK_PORT 7860 | |
EXPOSE 7860 | |
USER root | |
RUN mkdir -p /data/notebooks | |
RUN chmod 777 /data | |
RUN chmod 777 /data/notebooks | |
RUN git clone https://github.com/w0rd-driven/livebook_notebooks /data/notebooks |