File size: 468 Bytes
fa0a9c4 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
FROM ubuntu:latest
VOLUME /app/webui
WORKDIR /app/webui
RUN apt-get update
RUN apt-get install -y vim python3 libgoogle-perftools4 \
libtcmalloc-minimal4 git python3-pip ffmpeg libsm6 libxext6 \
&& adduser webui-user
RUN pip install --no-cache-dir --upgrade pip \
&& pip install --no-cache-dir packaging==21.3 \
&& pip install --no-cache-dir httpx==0.24.1
EXPOSE 7860
USER webui-user
RUN git config --global --add safe.directory /app/webui
CMD ["./run.sh"] |