FROM buildpack-deps:22.04-curl ENV DEBIAN_FRONTEND=noninteractive \ TZ=Asia/Ho_Chi_Minh ENV HOME=/home/user \ PATH=/home/user/.local/bin:$PATH USER root RUN useradd -m -u 1000 user RUN 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 \ wget \ curl \ net-tools \ xvfb \ libxi6 \ libgconf-2-4 \ locales \ bzip2 \ python3-numpy \ libsodium-dev \ libsodium23 \ supervisor \ xdotool \ zsh \ build-essential \ && rm -rf /var/lib/apt/lists/* RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -\ && apt install nodejs RUN chmod g+rw $HOME && \ mkdir -p $HOME/app && \ chown -R user:user $HOME/app WORKDIR $HOME/app RUN git clone https://github.com/ntkhang03/Anonymous-Notepad WORKDIR $HOME/app/Anonymous-Notepad RUN chown user: $HOME/app/Anonymous-Notepad RUN npm install USER user EXPOSE 3000 ENTRYPOINT ["npm", "start"]