privateone commited on
Commit
0140a0b
·
verified ·
1 Parent(s): cf148b3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -7
Dockerfile CHANGED
@@ -1,14 +1,17 @@
1
- FROM coturn/coturn:latest
2
 
3
- # Install curl to fetch ngrok
4
- RUN apt-get update && apt-get install -y curl unzip \
5
- && curl -s https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-stable-linux-amd64.zip -o /tmp/ngrok.zip \
 
 
 
 
 
6
  && unzip /tmp/ngrok.zip -d /usr/local/bin \
7
  && rm /tmp/ngrok.zip \
8
- && apt-get clean && rm -rf /var/lib/apt/lists/*
9
-
10
 
11
- USER root
12
 
13
  # Install socat and openssl for certificate generation
14
  RUN apk add --no-cache socat openssl
 
1
+ FROM alpine:latest
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
+
9
+ # Download and install ngrok (latest Linux amd64)
10
+ RUN curl -s https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip -o /tmp/ngrok.zip \
11
  && unzip /tmp/ngrok.zip -d /usr/local/bin \
12
  && rm /tmp/ngrok.zip \
13
+ && chmod +x /usr/local/bin/ngrok
 
14
 
 
15
 
16
  # Install socat and openssl for certificate generation
17
  RUN apk add --no-cache socat openssl