diff --git a/Dockerfile b/Dockerfile index 877b0c8..6f58413 100644 --- a/Dockerfile +++ b/Dockerfile @@ -50,5 +50,5 @@ COPY . . EXPOSE 8000 # Run the application. -CMD ["uvicorn", "app.app:app", "--host", "0.0.0.0", "--port", "8000"] +CMD ["uvicorn", "app.v1.app:app", "--host", "0.0.0.0", "--port", "8000"] diff --git a/app/v1/__init__.py b/app/v1/__init__.py new file mode 100644 index 0000000..e69de29 diff --git a/app/app.py b/app/v1/app.py similarity index 100% rename from app/app.py rename to app/v1/app.py diff --git a/app/auth.py b/app/v1/auth.py similarity index 100% rename from app/auth.py rename to app/v1/auth.py diff --git a/app/firebase_init.py b/app/v1/firebase_init.py similarity index 100% rename from app/firebase_init.py rename to app/v1/firebase_init.py diff --git a/app/mailer.py b/app/v1/mailer.py similarity index 100% rename from app/mailer.py rename to app/v1/mailer.py diff --git a/app/manager.py b/app/v1/manager.py similarity index 100% rename from app/manager.py rename to app/v1/manager.py diff --git a/app/schema.py b/app/v1/schema.py similarity index 100% rename from app/schema.py rename to app/v1/schema.py diff --git a/app/staff.py b/app/v1/staff.py similarity index 100% rename from app/staff.py rename to app/v1/staff.py diff --git a/app/user.py b/app/v1/user.py similarity index 100% rename from app/user.py rename to app/v1/user.py diff --git a/app/webhook.py b/app/v1/webhook.py similarity index 100% rename from app/webhook.py rename to app/v1/webhook.py diff --git a/main.py b/main.py index 902b150..497310f 100644 --- a/main.py +++ b/main.py @@ -3,4 +3,4 @@ import uvicorn if __name__ == "__main__": - uvicorn.run("app.app:app", host="0.0.0.0", port=8000, reload=True) + uvicorn.run("app.v1.app:app", host="0.0.0.0", port=8000, reload=True)