system/Dockerfile

18 lines
353 B
Docker
Raw Normal View History

2025-04-09 16:45:38 +00:00
# Use Python 3.10 slim as base
FROM python:3.10-slim AS base
# Set a working directory
WORKDIR /app
# Copy only the requirements file first
COPY requirements.txt .
# Install dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Copy the rest of the application
COPY . .
# Final entrypoint
ENTRYPOINT ["python", "/app/block_wrapper.py"]