File size: 338 Bytes
456cef9 08973ff 456cef9 c63f14b |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 8000
ENV PYTHONUNBUFFERED=1 \
PYTHONIOENCODING=UTF-8 \
PYTHONDONTWRITEBYTECODE=1 \
CONFIG_PATH=/tmp/config.yaml
RUN chmod +x /app/docker-entrypoint.sh
ENTRYPOINT ["/app/docker-entrypoint.sh"]
|