gokashi's picture
Add files using upload-large-folder tool
a554e78 verified
Raw History Blame Contribute Delete
726 Bytes
FROM ghcr.io/livebook-dev/livebook:0.15.1
# System deps for EXLA/NIFs
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
cmake \
curl \
git \
&& rm -rf /var/lib/apt/lists/*
# Set environment
ENV LIVEBOOK_PORT=7860
ENV LIVEBOOK_IP=0.0.0.0
ENV LIVEBOOK_TOKEN=""
ENV LIVEBOOK_IFRAME_PORT=7860
ENV MIX_ENV=prod
ENV BUMBLEBEE_CACHE_DIR=/data/bumblebee
ENV XLA_TARGET=cpu
WORKDIR /app
# Create cache dirs
RUN mkdir -p /data/bumblebee /data/livebook
# Copy notebook and setup script
COPY ml_e2e_template.livemd /app/ml_e2e_template.livemd
COPY setup.livemd /app/setup.livemd
COPY startup.sh /app/startup.sh
RUN chmod +x /app/startup.sh
EXPOSE 7860
CMD ["/app/startup.sh"]