Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: scr/main deleted #41

Merged
merged 1 commit into from
Mar 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ RUN uv sync --frozen --no-install-project
RUN uv sync --frozen

# Command to run the app when the container starts
CMD ["uv", "run", "test_main.py"]
CMD ["uv", "run", "main.py"]
6 changes: 3 additions & 3 deletions src/main.py → main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from fastapi import FastAPI
from fastapi.responses import RedirectResponse
from src.routers.health import health_router
from src.routers.mtcars import data_output
from routers.health import health_router
from routers.mtcars import data_output
import uvicorn
import tomllib

Expand All @@ -20,7 +20,7 @@
# Description of API defined in docs/documentation.py for ease of reading
description=description,
summary="This project is a proof-of-concept (POC) web API built using the FastAPI library.",
version=version,
version="0.0.1",
contact={
"name": "RMI",
"url": "https://github.com/RMI",
Expand Down
37 changes: 0 additions & 37 deletions test_main.py

This file was deleted.