Raffaele Scarano
06/06/2023, 8:54 AMFROM 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