FROM ghcr.io/boettiger-lab/nautilus:latest
WORKDIR /app

COPY . .

RUN conda update -n base -c conda-forge conda && conda env update --file environment.yml


# huggingface uses port 7860 by default
CMD streamlit run app.py \
    --server.address 0.0.0.0 \
    --server.port 7860 \
    --server.headless true \
    --server.fileWatcherType none