Adis-Gpts / Dockerfile
ADIJASA's picture
Update Dockerfile
ca20e54 verified
raw
history blame contribute delete
467 Bytes
FROM ubuntu:22.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install -y curl wget git nano htop neofetch screen net-tools iputils-ping ca-certificates && rm -rf /var/lib/apt/lists/*
RUN curl -L https://github.com/tsl0922/ttyd/releases/download/1.7.7/ttyd.x86_64 -o /usr/local/bin/ttyd && chmod +x /usr/local/bin/ttyd
ENV PORT=7860
ENV CREDENTIALS=admin:M0b1l3L3g3nd
EXPOSE 7860
CMD ["sh", "-c", "ttyd -p 7860 -W -c $CREDENTIALS -i 0.0.0.0 bash"]