Skip to content

Commit d3e74b9

Browse files
Initialize project metadata and uv lock
1 parent 0df2015 commit d3e74b9

File tree

3 files changed

+561
-0
lines changed

3 files changed

+561
-0
lines changed

Dockerfile

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM python:3.11-slim
2+
3+
WORKDIR /app
4+
ENV PYTHONUNBUFFERED=1
5+
6+
COPY pyproject.toml uv.lock ./
7+
RUN pip install -U pip && pip install uv && uv sync --frozen
8+
9+
COPY . .
10+
EXPOSE 8000
11+
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]

pyproject.toml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[project]
2+
name = "waffle-toy-project"
3+
version = "0.1.0"
4+
description = ""
5+
requires-python = ">=3.11"
6+
7+
dependencies = [
8+
"fastapi",
9+
"uvicorn[standard]",
10+
]

0 commit comments

Comments
 (0)