Yahir commited on
Commit
42dc4f4
1 Parent(s): 2cc4bb8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -1,7 +1,12 @@
1
- FROM python:3.8
 
 
 
 
 
 
 
2
 
3
- # Install necessary packages
4
- RUN apt-get update && apt-get install -y sudo
5
 
6
  # Create a user called "user" with password "password"
7
  RUN useradd -m -s /bin/bash -p $(openssl passwd -1 password) user
@@ -12,9 +17,6 @@ RUN usermod -aG sudo user
12
  # Set the default user to "user"
13
  USER user
14
 
15
- # Install Wetty
16
- RUN npm i -g wetty
17
-
18
  # Expose port 3000 for Wetty
19
  EXPOSE 3000
20
 
 
1
+ FROM python:3.9
2
+
3
+ RUN apt update
4
+ RUN apt install -y cmake make gcc g++ git curl sudo
5
+ RUN curl -sL https://deb.nodesource.com/setup_18.x | sudo -E bash -
6
+ RUN apt install -y nodejs
7
+ RUN npm i -g yarn
8
+ RUN yarn global add wetty
9
 
 
 
10
 
11
  # Create a user called "user" with password "password"
12
  RUN useradd -m -s /bin/bash -p $(openssl passwd -1 password) user
 
17
  # Set the default user to "user"
18
  USER user
19
 
 
 
 
20
  # Expose port 3000 for Wetty
21
  EXPOSE 3000
22