| | FROM buildpack-deps:22.04-curl |
| |
|
| | RUN useradd -m -u 1000 koga |
| |
|
| | ENV DEBIAN_FRONTEND=noninteractive \ |
| | TZ=Asia/Ho_Chi_Minh \ |
| | PORT=7860 |
| |
|
| | |
| | RUN rm -f /etc/apt/sources.list.d/*.list && \ |
| | apt-get update && apt-get install -y --no-install-recommends \ |
| | ansible \ |
| | bash \ |
| | procps \ |
| | git \ |
| | git-lfs \ |
| | unzip \ |
| | xz-utils \ |
| | openssh-client \ |
| | openssl \ |
| | dnsutils \ |
| | curl \ |
| | sudo \ |
| | screen \ |
| | smbclient \ |
| | wget \ |
| | rsync \ |
| | whois \ |
| | netcat \ |
| | nmap \ |
| | terminator \ |
| | tmux \ |
| | ffmpeg \ |
| | htop \ |
| | vim \ |
| | nano \ |
| | neofetch \ |
| | net-tools \ |
| | libxi6 \ |
| | libgconf-2-4 \ |
| | locales \ |
| | bzip2 \ |
| | python3-numpy \ |
| | libsodium-dev \ |
| | libsodium23 \ |
| | supervisor \ |
| | xdotool \ |
| | zsh \ |
| | fontconfig \ |
| | build-essential \ |
| | proxychains4 \ |
| | && rm -rf /var/lib/apt/lists/* |
| |
|
| | |
| | RUN echo 'strict_chain\n\ |
| | proxy_dns\n\ |
| | tcp_read_time_out 15000\n\ |
| | tcp_connect_time_out 8000\n\ |
| | [ProxyList]\n\ |
| | socks5 74.81.54.129 80 admin1 thanhtai123' > /etc/proxychains.conf |
| |
|
| | |
| | RUN curl -sL https://deb.nodesource.com/setup_20.x | bash - && \ |
| | apt install -y nodejs && \ |
| | npm install -g configurable-http-proxy |
| |
|
| | RUN apt install -y \ |
| | libnss3-dev \ |
| | libgdk-pixbuf2.0-dev \ |
| | libgtk-3-dev \ |
| | libxss-dev \ |
| | libssl-dev \ |
| | libncurses5-dev \ |
| | libsqlite3-dev \ |
| | libreadline-dev \ |
| | libtk8.6 \ |
| | libgdm-dev \ |
| | libdb4o-cil-dev \ |
| | libpcap-dev \ |
| | libasound2 \ |
| | make \ |
| | libnss3 |
| |
|
| | |
| | WORKDIR /home |
| | RUN git clone https://github.com/Twan07/dis.git |
| | RUN chown -R koga: /home/dis && chmod 777 /home/dis |
| |
|
| | WORKDIR /home/dis |
| | RUN npm install |
| |
|
| | USER koga |
| |
|
| | EXPOSE $PORT |
| |
|
| | |
| | CMD ["proxychains4", "npm", "run", "start"] |