Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files12342 unmodified lines789101112131415161718192021222324252627282930313233FROM python:3.11-slimENV DEBIAN_FRONTEND=noninteractive \PYTHONDONTWRITEBYTECODE=1 \2 unmodified linesWORKDIR /appRUN 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/*RUN prokka --setupdbCOPY requirements.txt ./RUN pip install --upgrade pip && pip install -r requirements.txtCOPY . /appEXPOSE 7860CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableXsrfProtection=false", "--server.enableCORS=false", "--server.maxUploadSize=200"]12342 unmodified lines78910111213141516171819202122232425262728FROM mambaorg/micromamba:1.5.10ENV DEBIAN_FRONTEND=noninteractive \PYTHONDONTWRITEBYTECODE=1 \2 unmodified linesWORKDIR /appCOPY --chown=$MAMBA_USER:$MAMBA_USER requirements.txt /tmp/requirements.txtRUN micromamba install -y -n base -c conda-forge -c bioconda \python=3.11 \prokka \streamlit \pandas \biopython \&& micromamba clean --all --yesRUN pip install --no-cache-dir -r /tmp/requirements.txtCOPY --chown=$MAMBA_USER:$MAMBA_USER . /appEXPOSE 7860CMD ["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