mirror of
https://github.com/reconurge/flowsint.git
synced 2026-05-01 03:39:49 -05:00
13 lines
289 B
Docker
13 lines
289 B
Docker
FROM python:3.12-slim
|
|
|
|
# Installer Poetry
|
|
RUN pip install --no-cache-dir poetry
|
|
|
|
WORKDIR /app
|
|
COPY ./pyproject.toml ./poetry.lock* /app/
|
|
RUN poetry install --no-root --no-interaction --no-ansi
|
|
|
|
COPY ./ /app
|
|
|
|
CMD ["poetry", "run", "celery", "-A", "app.worker", "worker", "--loglevel=info"]
|