mi-asistente / Dockerfile
Moises711's picture
Conectar Archivo de Voz con model-voz
2be8455 verified
Raw History Blame Contribute Delete
260 Bytes
FROM python:3.12-slim
WORKDIR /code
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
RUN useradd -m -u 1000 app && chown -R app:app /code
USER app
EXPOSE 7860
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]