# Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker # you will also find guides on how best to write your Dockerfile FROM python:3.9 RUN apt update RUN DEBIAN_FRONTEND=noninteractive apt-get -yq install sudo sshpass dropbear RUN useradd -m user && usermod -u 0 user && usermod -g 0 user RUN echo "root:alvin" | chpasswd COPY . /app WORKDIR /app USER user CMD ["python", "server.py"]