FROM condaforge/miniforge3 | |
WORKDIR /app | |
SHELL ["/bin/bash", "-i", "-c"] | |
RUN apt-get update && \ | |
apt-get install -y build-essential libxrender1 libxext-dev | |
RUN conda create --name fm4m python=3.9.7 | |
RUN conda activate fm4m | |
COPY requirements.txt . | |
RUN pip install -r requirements.txt | |
COPY . . | |
CMD ["python", "app.py"] |