Llama.ui / Dockerfile
Yahir's picture
Update Dockerfile
b149a8a
raw
history blame
453 Bytes
FROM debian:11
RUN apt update
RUN apt install -y cmake make gcc g++ git curl sudo
RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
RUN apt install -y nodejs
RUN npm i -g yarn
RUN yarn global add wetty
RUN echo 'root:root' | chpasswd
# Crear usuario con UID 1000
RUN useradd -u 1000 myuser
# Establecer contraseña para el usuario
RUN echo 'myuser:mypassword' | chpasswd
EXPOSE 7860
CMD ["wetty", "-p 7860", "--allow-remote-hosts"]