wishper-v3 / Dockerfile
imrnh's picture
Update Dockerfile
a334585
raw
history blame
362 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", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]