CoolFace
Apppublic

ven109/elixir_basic

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
Dockerfile29 linesDownload Raw Back to root
1FROM ghcr.io/livebook-dev/livebook:latest-cuda12.12 3ENV LIVEBOOK_APP_SERVICE_NAME="🐳 Hugging Face - $SPACE_TITLE"4ENV LIVEBOOK_APP_SERVICE_URL="https://huggingface.co/spaces/$SPACE_AUTHOR_NAME/$SPACE_REPO_NAME"5ENV LIVEBOOK_UPDATE_INSTRUCTIONS_URL="https://livebook.dev"6ENV LIVEBOOK_WITHIN_IFRAME="true"7ENV LIVEBOOK_APPS_PATH="/public-apps"8ENV LIVEBOOK_APPS_PATH_WARMUP="manual"9ENV LIVEBOOK_DATA_PATH="/data"10ENV LIVEBOOK_PORT="7860"11 12EXPOSE 786013 14RUN mkdir -p /data15RUN chmod 777 /data16 17# The Space container runs with user ID 100018RUN useradd -m -u 1000 user19ENV HOME="/home/user"20 21USER user22 23# TODO: remove this once EXLA v0.8 is out and we infer the default from the environment24# Configure Nx/EXLA to use the GPU (also relevant for warmup_apps below)25ENV XLA_TARGET="cuda120"26 27COPY --chown=user public-apps/ /public-apps28RUN /app/bin/warmup_apps29