add docker config
This commit is contained in:
parent
021cb68cdb
commit
831e4587ac
1 changed files with 6 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal file
|
@ -0,0 +1,6 @@
|
|||
FROM python:3.13-slim-bookworm
|
||||
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
|
||||
ADD . /app
|
||||
WORKDIR /app
|
||||
RUN uv sync --frozen --no-cache
|
||||
CMD ["/app/.venv/bin/fastapi", "run", "main.py", "--port", "8887"]
|
Loading…
Add table
Add a link
Reference in a new issue