Llama.ui / Dockerfile
Yahir's picture
Update Dockerfile
227da36
raw
history blame
463 Bytes
FROM python:3.9
# Install necessary packages
RUN apt-get update && apt-get install -y sudo
# Create a user called "user" with password "password"
RUN useradd -m -s /bin/bash -p $(openssl passwd -1 password) user
# Add the user to the sudo group
RUN usermod -aG sudo user
# Set the default user to "user"
USER user
# Install Wetty
RUN npm i -g wetty
# Expose port 3000 for Wetty
EXPOSE 3000
# Start Wetty
CMD ["wetty", "-p", "3000", "--allow-remote-hosts"]