# prefect-server

Jordan Stewart

01/12/2021, 3:48 PM
hey guys, question about using a dockerfile with prefect
Copy code
FROM python:3
ADD hello_world/ /~
RUN pip3 install prefect
RUN pip3 install numpy
RUN pip3 install pandas
CMD python3 /hello_world/
this is an example, but do the dockerfile's need a CMD line since Prefect Agent is what handles running the code? it seems like we would just need ADD and RUN statements, and then Prefect agent would handle execution

Jim Crist-Harif

01/12/2021, 3:50 PM
If you're talking about a dockerfile for running a flow, no
line is needed. The agent will assign a command at runtime.

Jordan Stewart

01/12/2021, 3:51 PM
perfect, thats exactly what i meant and assumed! 🙂 thanks for the prompt response!!