Init project
This commit is contained in:
19
Dockerfile
Normal file
19
Dockerfile
Normal file
@@ -0,0 +1,19 @@
|
||||
FROM python:3.13-slim AS core
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN pip install uv && apt update && apt install -y git
|
||||
COPY pyproject.toml uv.lock README.md /app
|
||||
COPY birthday_pool_bot /app
|
||||
ENTRYPOINT ["uv", "run"]
|
||||
|
||||
|
||||
FROM core AS app
|
||||
|
||||
RUN uv sync --group sqlite
|
||||
ENTRYPOINT ["uv", "run", "python", "-m", "birthday_pool_bot"]
|
||||
|
||||
|
||||
FROM core AS test
|
||||
|
||||
RUN uv sync --all-groups
|
||||
Reference in New Issue
Block a user