13 lines
347 B
Docker
13 lines
347 B
Docker
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
# Runs the Taskiq worker against taskiq_management.broker_setup.
|
|
# docker-compose overrides this command if needed.
|
|
CMD ["taskiq", "worker", "taskiq_management.broker_setup:broker", "inbox.tasks", "taskiq_management.tasks"]
|