FROM python:3.11-slim WORKDIR /home/app # Updated to include build-essential and libpq-dev RUN apt-get update && apt-get install -y \ curl \ unzip \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL https://get.deta.dev/cli.sh | sh RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" RUN unzip awscliv2.zip RUN ./aws/install COPY requirements.txt /dependencies/requirements.txt RUN pip install -r /dependencies/requirements.txt CMD ["bash","-c","mlflow server \ --host 0.0.0.0 \ --port ${PORT} \ --backend-store-uri ${BACKEND_STORE_URI} \ --default-artifact-root ${ARTIFACT_STORE_URI} \ --serve-artifacts \ --allowed-hosts '*' \ --cors-allowed-origins '*' "]