MarathonBibDetector / Dockerfile
Faraphel's picture
changed the space to use docker instead of the base gradio
b771eb5
raw
history blame contribute delete
368 Bytes
FROM mambaorg/micromamba:latest
USER root
WORKDIR /app
RUN apt-get update && apt-get install -y \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY environment.yml .
RUN micromamba create -y -n app -f environment.yml && \
micromamba clean --all --yes
ENV PATH=/opt/conda/envs/app/bin:$PATH
EXPOSE 7860
COPY . .
CMD ["python3", "app.py"]