I have now run the <medium's tutorial> code passin...
# ask-community
r
I have now run the medium's tutorial code passing conda image as base image to dockerfile and it crashes. So the Dockerfile becames:
Copy code
FROM prefecthq/prefect:2-python3.10-conda

COPY requirements.txt .
COPY setup.py .
COPY prefect_utils .

RUN pip install --upgrade pip setuptools --no-cache-dir
RUN pip install --trusted-host <http://pypi.python.org|pypi.python.org> --no-cache-dir .

ARG PREFECT_API_KEY
ENV PREFECT_API_KEY=$PREFECT_API_KEY

ARG PREFECT_API_URL
ENV PREFECT_API_URL=$PREFECT_API_URL

ENV PYTHONUNBUFFERED True

COPY flows/ /opt/prefect/flows/

ENTRYPOINT ["/bin/bash", "--login", "-c", "prefect agent start -q default"]
Am I doing something wrong? Thread in Slack Conversation