Config-debug / Dockerfile
NanduKondreddy's picture
Replace repo with updated config-debug files
cda147c
Raw
History Blame Contribute Delete
276 Bytes
FROM python:3.11-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
RUN useradd -m -u 1000 user
COPY --chown=user . .
USER user
EXPOSE 7860
CMD ["python", "-m", "uvicorn", "server.app:app", "--host", "0.0.0.0", "--port", "7860"]