fix(shard): 🐛 Allow reporting messages sent *to* Payphone (instead of *by*).
This commit is contained in:
+8
-6
@@ -1,17 +1,19 @@
|
||||
FROM python:3.12 AS base
|
||||
FROM registry.nyeki.dev/docker/python/with-uv:3.12-alpine AS base
|
||||
|
||||
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
COPY pyproject.toml uv.lock /app/
|
||||
|
||||
RUN pip install uv
|
||||
RUN uv sync --no-dev
|
||||
RUN python3 -m uv sync --no-dev
|
||||
|
||||
COPY . /app/
|
||||
|
||||
|
||||
FROM base AS shard
|
||||
|
||||
ENTRYPOINT [ "uv", "run", "--no-dev", "bot.py" ]
|
||||
CMD [ "bot.py" ]
|
||||
|
||||
|
||||
FROM base AS tasks
|
||||
|
||||
ENTRYPOINT [ "uv", "run", "--no-dev", "tasks.py" ]
|
||||
CMD [ "tasks.py" ]
|
||||
|
||||
Reference in New Issue
Block a user