15 lines
292 B
Docker
15 lines
292 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Install dependencies
|
|
COPY ./image-generator/requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Copy shared modules
|
|
COPY ./shared /app/shared
|
|
|
|
# Copy application code
|
|
COPY ./image-generator /app
|
|
|
|
CMD ["python", "image_generator.py"] |