17 lines
296 B
Docker
17 lines
296 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY ./scheduler/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy shared module
|
|
COPY ./shared /app/shared
|
|
|
|
# Copy scheduler code
|
|
COPY ./scheduler /app
|
|
|
|
# Run scheduler
|
|
CMD ["python", "keyword_scheduler.py"]
|