PyscoutAI / Dockerfile
PyScoutAI's picture
Upload 15 files
ead2510 verified
raw
history blame
259 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
EXPOSE 7860
EXPOSE 8000
ENV PYTHONUNBUFFERED=1
RUN useradd -m appuser
USER appuser
ENTRYPOINT ["python", "docker_entrypoint.py"]