Fix bugs, add README and Makefile
This commit is contained in:
@@ -4,13 +4,14 @@ 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
|
||||
RUN uv sync
|
||||
COPY birthday_pool_bot /app/birthday_pool_bot
|
||||
ENTRYPOINT ["uv", "run"]
|
||||
|
||||
|
||||
FROM core AS app
|
||||
|
||||
RUN uv sync --group sqlite
|
||||
RUN uv sync --group sqlite --group postgresql
|
||||
ENTRYPOINT ["uv", "run", "python", "-m", "birthday_pool_bot"]
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user