Create Dockerfile
Browse files1234567891011121314151617181920212223242526272829303132333435FROM mambaorg/micromamba:1.5.10
USER rootWORKDIR /app
COPY requirements.txt /tmp/requirements.txt
RUN micromamba install -y -n base -c conda-forge -c bioconda \ python=3.11 \ streamlit \ pandas \ numpy \ matplotlib \ openpyxl \ abricate \ blast \ && micromamba clean --all --yes
RUN pip install --no-cache-dir -r /tmp/requirements.txt
COPY app.py /app/app.pyCOPY virulence_core_streamlit.py /app/virulence_core_streamlit.py
# Build bundled ABRicate databases, including VFDBRUN abricate --setupdb
ENV PYTHONUNBUFFERED=1ENV STREAMLIT_SERVER_HEADLESS=trueENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=falseENV STREAMLIT_SERVER_PORT=7860ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
EXPOSE 7860
CMD ["streamlit", "run", "/app/app.py", "--server.port=7860", "--server.address=0.0.0.0"]DockerfileAdded+35