B5 / Dockerfile
Sinketji's picture
Update Dockerfile
2b63f76 verified
raw
history blame contribute delete
586 Bytes
FROM ubuntu:22.04
USER root
ENV DEBIAN_FRONTEND=noninteractive
# Python3, Pip, Git aur LFS add kiya hai
RUN apt-get update && apt-get install -y \
curl wget sudo ttyd qemu-system-x86 qemu-kvm \
python3 python3-pip git git-lfs \
&& rm -rf /var/lib/apt/lists/*
# Hugging Face CLI install karna zaroori hai
RUN pip3 install huggingface_hub
RUN useradd -m -u 1000 user && echo "user ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER user
WORKDIR /home/user
COPY --chown=user:user start.sh /home/user/start.sh
RUN chmod +x /home/user/start.sh
ENTRYPOINT ["/home/user/start.sh"]