wishper-v3 / Dockerfile
imrnh's picture
Create Dockerfile
73e04de
raw
history blame
358 Bytes
FROM python:3.9
# WORKDIR /code
WORKDIR $HOME/app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
RUN useradd -m -u 1000 user
USER user
ENV HOME=/home/user \
PATH=/home/user/.local/bin:$PATH
COPY --chown=user . $HOME/app
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]