Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files6 unmodified lines7891011126 unmodified lines19202122232425262728296 unmodified linesWORKDIR /appRUN apt-get update && apt-get install -y --no-install-recommends \prokka \default-jre \6 unmodified linesca-certificates \&& rm -rf /var/lib/apt/lists/*COPY 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"]6 unmodified lines789101112136 unmodified lines202122232425262728293031323334353637383940416 unmodified linesWORKDIR /app# Install system dependencies + ProkkaRUN apt-get update && apt-get install -y --no-install-recommends \prokka \default-jre \6 unmodified linesca-certificates \&& rm -rf /var/lib/apt/lists/*# 🔴 VERY IMPORTANT: Setup Prokka databaseRUN prokka --setupdb# Install Python dependenciesCOPY requirements.txt ./RUN pip install --upgrade pip && pip install -r requirements.txt# Copy appCOPY . /appEXPOSE 7860# 🔴 IMPORTANT FOR FILE UPLOAD FIXCMD ["streamlit", "run", "app.py","--server.port=7860","--server.address=0.0.0.0","--server.enableXsrfProtection=false","--server.enableCORS=false","--server.maxUploadSize=200"]
Dockerfile+13-1