Nathaniel Russell
09/26/2022, 5:10 PMFROM prefecthq/prefect:2.4.2-python3.9
COPY service.py .
COPY requirements.txt .
RUN pip install -r requirements.txt
CMD [ "service.handler" ]
For example this doesn't work because I am not using aws' base image so CMD [ "service.handler" ] isn't properly setting the handlerAnna Geller
09/26/2022, 6:16 PMNathaniel Russell
09/26/2022, 6:26 PMAnna Geller
09/26/2022, 6:40 PMNathaniel Russell
09/26/2022, 7:41 PM