Kevin Su

    Kevin Su

    2 weeks ago
    could you share your docker file?
    Updating the dockerfile to something like below can fix it.
    FROM python:latest
    WORKDIR /root
    ENV PYTHONPATH /root
    ADD requirements.txt .
    RUN pip install -r requirements.txt
    ENV n=5
    Basically, you don’t need to copy fibonacci_example into your dockerfile because flytekit upload
    fibonacci_example.py
    when you running
    pyflyte run …