Yog965/grc-ai-command-deck
0
1FROM python:3.11-slim2 3ENV PYTHONDONTWRITEBYTECODE=1 \4 PYTHONUNBUFFERED=1 \5 PIP_NO_CACHE_DIR=16 7WORKDIR /app8 9# reportlab may need basic font and rendering libs on slim images.10RUN apt-get update \11 ; apt-get install -y --no-install-recommends \12 build-essential \13 libfreetype6 \14 libjpeg62-turbo \15 libpng16-16 \16 fonts-dejavu-core \17 ; rm -rf /var/lib/apt/lists/*18 19COPY requirements.txt ./20RUN pip install --upgrade pip && pip install -r requirements.txt21 22COPY . .23 24RUN mkdir -p data outputs data/cache && chmod -R 777 data outputs25 26EXPOSE 786027 28CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port ${PORT:-7860}"]29 