Spaces:
Sleeping
Sleeping
eienmojiki
commited on
Commit
•
83c0bfa
1
Parent(s):
e13d37e
Create Dockerfile
Browse files- Dockerfile +70 -0
Dockerfile
ADDED
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM buildpack-deps:22.04-curl
|
2 |
+
|
3 |
+
ENV DEBIAN_FRONTEND=noninteractive \
|
4 |
+
TZ=Asia/Ho_Chi_Minh
|
5 |
+
|
6 |
+
ENV HOME=/home/user \
|
7 |
+
PATH=/home/user/.local/bin:$PATH
|
8 |
+
|
9 |
+
USER root
|
10 |
+
|
11 |
+
RUN useradd -m -u 1000 user
|
12 |
+
|
13 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
14 |
+
ansible \
|
15 |
+
bash \
|
16 |
+
procps \
|
17 |
+
git \
|
18 |
+
git-lfs \
|
19 |
+
unzip \
|
20 |
+
xz-utils \
|
21 |
+
openssh-client \
|
22 |
+
openssl \
|
23 |
+
dnsutils \
|
24 |
+
curl \
|
25 |
+
sudo \
|
26 |
+
screen \
|
27 |
+
smbclient \
|
28 |
+
wget \
|
29 |
+
rsync \
|
30 |
+
whois \
|
31 |
+
netcat \
|
32 |
+
nmap \
|
33 |
+
terminator \
|
34 |
+
tmux \
|
35 |
+
ffmpeg \
|
36 |
+
htop \
|
37 |
+
vim \
|
38 |
+
nano \
|
39 |
+
neofetch \
|
40 |
+
wget \
|
41 |
+
curl \
|
42 |
+
net-tools \
|
43 |
+
xvfb \
|
44 |
+
libxi6 \
|
45 |
+
libgconf-2-4 \
|
46 |
+
locales \
|
47 |
+
bzip2 \
|
48 |
+
python3-numpy \
|
49 |
+
libsodium-dev \
|
50 |
+
libsodium23 \
|
51 |
+
supervisor \
|
52 |
+
xdotool \
|
53 |
+
zsh \
|
54 |
+
build-essential \
|
55 |
+
&& rm -rf /var/lib/apt/lists/*
|
56 |
+
|
57 |
+
RUN curl -sL https://deb.nodesource.com/setup_20.x | sudo -E bash -\
|
58 |
+
&& apt install nodejs
|
59 |
+
|
60 |
+
WORKDIR $HOME/app
|
61 |
+
|
62 |
+
RUN git clone https://github.com/ntkhang03/Anonymous-Notepad
|
63 |
+
|
64 |
+
WORKDIR $HOME/app/Anonymous-Notepad
|
65 |
+
|
66 |
+
RUN npm install
|
67 |
+
|
68 |
+
EXPOSE 3000
|
69 |
+
|
70 |
+
ENTRYPOINT ["npm", "start"]
|