Fisrt commit. Docker compose is working

This commit is contained in:
2025-09-15 23:21:09 +02:00
commit 10650420ef
17 changed files with 858 additions and 0 deletions

14
src/worker/Dockerfile Normal file
View File

@@ -0,0 +1,14 @@
FROM python:3.12-slim
# Set working directory
WORKDIR /app
# Copy requirements and install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY tasks/ .
# Command will be overridden by docker-compose
CMD ["celery", "-A", "main", "worker", "--loglevel=info"]