pdffigures2 / Dockerfile
Giacomo Vianello
Reorganize
a10d2b2 unverified
raw
history blame contribute delete
383 Bytes
# read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
# you will also find guides on how best to write your Dockerfile
FROM condaforge/mambaforge:23.1.0-1
RUN mamba install -y sbt=1.7.1 git gradio
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
WORKDIR $HOME/app
COPY --chown=user . $HOME/app
ENTRYPOINT python app.py