Medgmma / Dockerfile
Ashraf's picture
Update Dockerfile
ed7b049 verified
raw
history blame contribute delete
381 Bytes
FROM python:3.13.5
RUN useradd -m -u 1000 user
USER user
ENV PATH="/home/user/.local/bin:$PATH"
WORKDIR /app
RUN pip install git+https://github.com/openai/whisper.git
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=user . /app
EXPOSE 7860
CMD exec gunicorn --bind 0.0.0.0:7860 --workers 5 app:app