Skip to content

Commit 9a08c56

Browse files
committed
modify dockerfile
1 parent 23556b9 commit 9a08c56

5 files changed

Lines changed: 146 additions & 265 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ RUN sh /uv-installer.sh && rm /uv-installer.sh
1818
ENV PATH="/root/.local/bin:$PATH"
1919

2020
# Install the dependencies
21-
RUN uv sync --locked
21+
RUN uv sync --locked --no-dev
2222

2323
# Copy the rest of the application code into the container
2424
COPY ./app /code/app
2525

2626
EXPOSE 8080
2727

2828
# Set the command to run the application
29-
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]
29+
CMD ["uv", "run", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8080"]

pyproject.toml

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,29 +5,27 @@ description = "API for the mobile app"
55
readme = "README.md"
66
requires-python = ">=3.10,<3.13"
77
dependencies = [
8-
"fastapi>=0.119.0",
9-
"firebase-admin>=7.1.0",
10-
"httpx>=0.28.1",
11-
"psutil>=7.1.1",
12-
"pydantic>=2.12.3",
13-
"supabase>=2.22.0",
14-
"uvicorn>=0.37.0",
15-
"mosayic>=0.0.1",
8+
"fastapi~=0.119",
9+
"firebase-admin~=7.1",
10+
"httpx~=0.28",
11+
"psutil~=7.1",
12+
"pydantic~=2.12",
13+
"supabase~=2.22",
14+
"uvicorn~=0.37",
15+
"mosayic~=0.0.1",
1616
]
1717

18-
19-
# [tool.uv.sources]
20-
# mosaygent = { path = "/home/jokea/KealyStudio/Mosayic/pymosaygent", editable = true }
21-
# mosayic = { path = "/home/jokea/KealyStudio/Mosayic/pymosayic" }
22-
23-
2418
[dependency-groups]
2519
dev = [
26-
"mosaygent>=0.0.1",
20+
"mosaygent~=0.1",
2721
]
28-
2922
test = [
30-
"pytest>=8.4.2",
31-
"pytest-asyncio>=1.2.0",
32-
"pytest-mock>=3.15.1",
23+
"pytest~=8.4",
24+
"pytest-asyncio~=1.2",
25+
"pytest-mock~=3.15",
3326
]
27+
28+
29+
# [tool.uv.sources]
30+
# mosaygent = { path = "/home/jokea/KealyStudio/Mosayic/pymosaygent", editable = true }
31+
# mosayic = { path = "/home/jokea/KealyStudio/Mosayic/pymosayic" }

tests/fixtures/auth_fixtures.py

Lines changed: 0 additions & 60 deletions
This file was deleted.

tests/test_auth.py

Lines changed: 0 additions & 94 deletions
This file was deleted.

0 commit comments

Comments
 (0)