This commit is contained in:
2026-10-14 20:20:14 -05:00
commit 1f618e03f3
11 changed files with 80 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12
WORKDIR /code
COPY ./requirements/base.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ./app /code/app
RUN useradd fastapiuser
USER fastapiuser
EXPOSE 8080
CMD ["fastapi", "run", "app/main.py", "--port", "8080"]
View File
View File
+5
View File
@@ -0,0 +1,5 @@
fastapi[standard]
asyncpg
sqlalchemy[asyncio]
pydantic
pydantic-settings
View File
View File