Spaces:
Sleeping
Sleeping
File size: 1,138 Bytes
83c0bfa |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
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
WORKDIR $HOME/app
RUN git clone https://github.com/ntkhang03/Anonymous-Notepad
WORKDIR $HOME/app/Anonymous-Notepad
RUN npm install
EXPOSE 3000
ENTRYPOINT ["npm", "start"] |