web / Dockerfile
asr-whisper's picture
Upload Dockerfile
6f8bfe5
raw
history blame
425 Bytes
FROM onerahmet/openai-whisper-asr-webservice:latest
RUN mkdir -p /root/.cache
RUN touch /var/run/nginx.pid
RUN chown -R 1000:1000 /app/ \
/root/.cache
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
ENTRYPOINT ["gunicorn", "--bind", "0.0.0.0:7860", "--workers", "1", "--timeout", "0", "app.webservice:app", "-k", "uvicorn.workers.UvicornWorker"]