12 lines
332 B
Docker
12 lines
332 B
Docker
FROM python:3.12-slim
|
|
WORKDIR /app
|
|
ENV PYTHONPATH=/app
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends fonts-dejavu-core \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY requirements-dev.txt .
|
|
RUN pip install --no-cache-dir -r requirements-dev.txt
|
|
COPY . .
|
|
EXPOSE 8000
|
|
CMD ["python", "scripts/docker_entrypoint.py"]
|