wishper-v3 / Dockerfile
imrnh's picture
Update Dockerfile
4333cf5
raw
history blame
394 Bytes
FROM python:3.9
# WORKDIR /code
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN ls -R
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 . /app
RUN ls -R
CMD ["/app"]
CMD ["uvicorn", "app:app", "--reload", "--host", "0.0.0.0", "--port", "8000"]