-
exception container log: |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
|
Hey @anravi , please follow the template, review all the checks, etc. Anyway, you would probably have to make WORKDIR /app/You could probably also use the official Docker image: https://github.com/tiangolo/uvicorn-gunicorn-fastapi-docker |
Beta Was this translation helpful? Give feedback.
-
|
Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues. |
Beta Was this translation helpful? Give feedback.
-
|
I get the same error. |
Beta Was this translation helpful? Give feedback.
-
|
@jhaggle that might be related to a lot of different ways your Python is not finding the For example, if the directory COPY ./app /appwill actually copy But again, that will depend on each case and each Dockerfile. You can probably follow the instructions of the official Docker images and/or copy or replicate what they do. Otherwise, if you have a minimal, self-contained example that reproduces your error, please create a new issue following all the steps in the issue template. |
Beta Was this translation helpful? Give feedback.
I get the same error.
Make /app your working directory in the Dockerfile does not change this.