# Set base Python image version FROM python:3.10-alpine # Set working directory WORKDIR /app # Copy requirements.txt to the Docker container COPY requirements.txt . # Install required Python packages RUN pip install --no-cache-dir -r requirements.txt # Copy the rest of your app's source code COPY . . # Command to run the worker.py script CMD ["python", "./worker.py"]