You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to deploy the project on docker, I notice that /code/app is used for pure python image like python:3.9 but /app/app for FastAPI image tiangolo/uvicorn-gunicorn-fastapi:python3.9 in the tutorial of how to deploy on docker.
Is there any reason for this? I feel that /app/app is more confusing than /code/app. We have two directories in different levels both named app and an application in main.py called app as well. For some beginners, I feel it might be hard to distinguish which directory app refers to or if it refers to the application while reading the commands or codes. Or am I the only one to feel so?
The text was updated successfully, but these errors were encountered:
Hi,
I'm new here using FastAPI.
While trying to deploy the project on docker, I notice that
/code/app
is used for pure python image likepython:3.9
but/app/app
for FastAPI imagetiangolo/uvicorn-gunicorn-fastapi:python3.9
in the tutorial of how to deploy on docker.Is there any reason for this? I feel that
/app/app
is more confusing than/code/app
. We have two directories in different levels both namedapp
and an application inmain.py
calledapp
as well. For some beginners, I feel it might be hard to distinguish which directoryapp
refers to or if it refers to the application while reading the commands or codes. Or am I the only one to feel so?The text was updated successfully, but these errors were encountered: