Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files112342 unmodified lines7891011121314151617181920211011231213141516171819252620212822232425262728FROM python:3.11-slimFROM mambaorg/micromamba:1.5.10
ENV DEBIAN_FRONTEND=noninteractive \ PYTHONDONTWRITEBYTECODE=1 \2 unmodified lines
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \ prokka \ default-jre \ dpkg-dev \ libdatetime-perl \ libxml-simple-perl \ libdigest-md5-perl \ libfile-slurp-perl \ libbio-perl-perl \ wget \ ca-certificates \ && rm -rf /var/lib/apt/lists/*COPY --chown=$MAMBA_USER:$MAMBA_USER requirements.txt /tmp/requirements.txt
RUN prokka --setupdbRUN micromamba install -y -n base -c conda-forge -c bioconda \ python=3.11 \ prokka \ streamlit \ pandas \ biopython \ && micromamba clean --all --yes
COPY requirements.txt ./RUN pip install --upgrade pip && pip install -r requirements.txtRUN pip install --no-cache-dir -r /tmp/requirements.txt
COPY . /appCOPY --chown=$MAMBA_USER:$MAMBA_USER . /app
EXPOSE 7860
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false", "--server.enableCORS=false", "--server.maxUploadSize=200"]
Dockerfile+12-17