Abhinav Chordia
04/18/2023, 5:50 PMChris White
04/18/2023, 5:52 PMprefect 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 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
# 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
Chris White
04/18/2023, 11:41 PMAbhinav Chordia
04/18/2023, 11:41 PM2023.1.0
and fsspec was 2023.4.0
2023.1.0
fixed the issueChris White
04/18/2023, 11:42 PMAbhinav Chordia
04/18/2023, 11:42 PM