Abhinav Chordia
04/18/2023, 5:50 PMChris White
prefect project init --recipe docker
to get things started. Note that the "docker" recipe will place your code within the docker filesystem. You can explore other available recipes (that include pushing / pulling code from remote locations such as S3) via prefect project recipe ls
Abhinav Chordia
04/18/2023, 5:57 PMAbhinav Chordia
04/18/2023, 5:58 PMAbhinav Chordia
04/18/2023, 7:21 PMRUN pip install --no-cache-dir --upgrade pip && pip install pip-tools && python -m piptools compile --resolver=backtracking pyproject.toml && pip install -r requirements.txt
Abhinav Chordia
04/18/2023, 7:21 PM# syntax=docker/dockerfile:1
FROM --platform=linux/amd64 prefecthq/prefect:2.10.3-python3.9
WORKDIR /install
COPY pyproject.toml .
RUN pip install --no-cache-dir --upgrade pip && pip install pip-tools && python -m piptools compile --resolver=backtracking pyproject.toml && pip install -r requirements.txt
WORKDIR /opt/prefect/flows
Abhinav Chordia
04/18/2023, 7:22 PMAbhinav Chordia
04/18/2023, 11:41 PMChris White
Abhinav Chordia
04/18/2023, 11:41 PM2023.1.0
and fsspec was 2023.4.0
Abhinav Chordia
04/18/2023, 11:41 PM2023.1.0
fixed the issueChris White
Abhinav Chordia
04/18/2023, 11:42 PM