privateone commited on
Commit
7b5ccf8
·
verified ·
1 Parent(s): ca36264

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -7
Dockerfile CHANGED
@@ -1,8 +1,5 @@
1
  FROM coturn/coturn:edge-debian
2
 
3
-
4
- USER root
5
-
6
  # Install dependencies: coturn, openssl, curl (for ngrok install), bash, socat
7
  # RUN apk add --no-cache coturn openssl curl bash
8
 
@@ -23,10 +20,8 @@ RUN curl -sSL https://ngrok-agent.s3.amazonaws.com/ngrok.asc \
23
  && apt-get install -y ngrok \
24
  && rm -rf /var/lib/apt/lists/*
25
 
26
- RUN adduser --disabled-password --gecos '' --shell /bin/bash user \
27
- && chown -R user:user /app
28
- RUN echo "user ALL=(ALL) NOPASSWD:ALL" > /etc/sudoers.d/90-user
29
- USER user
30
 
31
  # All users can use /home/user as their home directory
32
  ENV HOME=/home/user
 
1
  FROM coturn/coturn:edge-debian
2
 
 
 
 
3
  # Install dependencies: coturn, openssl, curl (for ngrok install), bash, socat
4
  # RUN apk add --no-cache coturn openssl curl bash
5
 
 
20
  && apt-get install -y ngrok \
21
  && rm -rf /var/lib/apt/lists/*
22
 
23
+
24
+ RUN mkdir -p /home/user
 
 
25
 
26
  # All users can use /home/user as their home directory
27
  ENV HOME=/home/user