jesus-wageup
07/17/2024, 6:25 PMcrashed
flow run Infrastructure exited with non-zero status code 1." I am running in ECS using an image from ECR. This is my docker file:
FROM prefecthq/prefect:2-python3.10
COPY requirements.txt .
RUN pip install -r requirements.txt --trusted-host <http://pypi.python.org|pypi.python.org> --no-cache-dir
ADD flows /opt/prefect/flows/
Marvin
07/17/2024, 6:26 PMrequirements.txt
are compatible with the Prefect version you're using.
- Verify the Docker image itself is correctly built and can run the flows as expected locally before deploying to ECS.
For a more in-depth guide, refer to the Prefect ECS worker documentation:
ECS Worker Guide
For reference to a similar issue and potential reviews or solutions, have a look at these GitHub issues:
1. CannotPullContainerError on ECS
2. CapacityLimiter's tokens error
These resources should help you troubleshoot and rectify the issues with your ECS-based Prefect deployments.jesus-wageup
07/17/2024, 7:13 PM