solara-template / Dockerfile
giswqs's picture
Update Dockerfile
1976937
raw
history blame contribute delete
329 Bytes
FROM quay.io/jupyter/base-notebook:latest
COPY requirements.txt .
RUN pip install -r requirements.txt
RUN mkdir ./pages
COPY /pages ./pages
WORKDIR /home/jovyan
USER jovyan
EXPOSE 7860
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
ENTRYPOINT ["solara", "run", "./pages", "--host=0.0.0.0", "--port=7860"]