This commit is contained in:
2023-03-29 08:45:56 +08:00
commit c7af8b2022
29 changed files with 282 additions and 0 deletions

6
env/Dockerfile vendored Normal file
View File

@ -0,0 +1,6 @@
FROM python:3.10-slim
WORKDIR /prefect
RUN pip install s3fs
RUN pip install prefect==2.8.7

8
env/build_infra.sh vendored Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
# build_infra.sh
#
# author: deng
# date : 20230328
buildtime=$(date +"%Y%m%d-%H%M")
docker build --no-cache -f Dockerfile -t test_prefect:${buildtime} .