Dockerfile.brand_sync
370 Bytes
FROM python:3.10-slim
WORKDIR /app
RUN apt-get update && apt-get install -y --no-install-recommends \
gcc \
&& rm -rf /var/lib/apt/lists/*
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN pip install --no-cache-dir pysqlite3-binary
COPY . .
RUN mkdir -p data logs
ENV PYTHONPATH=/app
CMD ["python", "bin/run_brand_sync.py"]