Bayhaqy commited on
Commit
4f113ae
1 Parent(s): e61bfdd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -20
Dockerfile CHANGED
@@ -12,32 +12,12 @@ RUN apt update
12
  # installing python3 with a specific version
13
  RUN apt install python3.10 -y
14
  RUN apt install python3.10-distutils -y
15
- #RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
16
 
17
  # installing other libraries
18
  RUN apt-get install python3-pip -y && apt-get -y install sudo
19
- RUN apt-get install python3-dev -y
20
  RUN apt-get install python3-venv -y
21
- RUN apt-get install curl -y
22
- RUN apt-get install gnupg -y
23
- RUN apt-get install nano -y
24
- RUN apt-get install ca-certificates -y
25
  RUN apt-get update && apt-get install -y git
26
 
27
- # Create directories and import GPG key
28
- RUN mkdir -p /etc/apt/keyrings
29
- RUN curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg
30
-
31
- # Add the Node.js repository
32
- RUN echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_20.x nodistro main" | tee /etc/apt/sources.list.d/nodesource.list
33
-
34
- # Install Node.js
35
- RUN apt-get update && apt-get install nodejs -y
36
-
37
- # Install tweet-harvest@latest
38
- RUN npm install -g tweet-harvest@latest
39
- RUN npm install -g npm@latest
40
-
41
  # Set up a new user named "user" with user ID 1000
42
  RUN useradd -m -u 1000 user
43
 
 
12
  # installing python3 with a specific version
13
  RUN apt install python3.10 -y
14
  RUN apt install python3.10-distutils -y
 
15
 
16
  # installing other libraries
17
  RUN apt-get install python3-pip -y && apt-get -y install sudo
 
18
  RUN apt-get install python3-venv -y
 
 
 
 
19
  RUN apt-get update && apt-get install -y git
20
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
  # Set up a new user named "user" with user ID 1000
22
  RUN useradd -m -u 1000 user
23