Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +10 -7
Dockerfile
CHANGED
|
@@ -1,14 +1,17 @@
|
|
| 1 |
-
FROM
|
| 2 |
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
&& unzip /tmp/ngrok.zip -d /usr/local/bin \
|
| 7 |
&& rm /tmp/ngrok.zip \
|
| 8 |
-
&&
|
| 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
|