File size: 413 Bytes
bf64f16
5855eff
81d25fd
 
5855eff
cf63a57
6fffe54
6635132
6fffe54
30e5e44
 
6fffe54
cf63a57
6fffe54
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM livebook/livebook:latest-cuda11.8

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
RUN chmod 777 /data