Update Dockerfile
Browse files- Dockerfile +10 -9
Dockerfile
CHANGED
@@ -28,20 +28,21 @@ WORKDIR $HOME/app
|
|
28 |
# Copy the application files into the container
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
-
# Download
|
32 |
-
RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-
|
33 |
-
unzip ngrok-v3-stable-linux-amd64.zip && \
|
34 |
-
rm ngrok-v3-stable-linux-amd64.zip
|
35 |
|
36 |
-
#
|
37 |
-
RUN
|
|
|
|
|
|
|
|
|
38 |
|
39 |
# Move ngrok binary to destination directory
|
40 |
-
RUN mv ngrok
|
41 |
|
42 |
# Set permissions for ngrok
|
43 |
-
RUN chmod +x
|
44 |
-
|
45 |
|
46 |
# Create ngrok configuration
|
47 |
RUN mkdir -p $HOME/.ngrok2 && \
|
|
|
28 |
# Copy the application files into the container
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
+
# Download ngrok v3 from the official website
|
32 |
+
RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tgz -O /tmp/ngrok.tgz
|
|
|
|
|
33 |
|
34 |
+
# Extract ngrok binary to /usr/local/bin
|
35 |
+
RUN tar xvzf /tmp/ngrok.tgz -C /usr/local/bin && \
|
36 |
+
rm /tmp/ngrok.tgz
|
37 |
+
|
38 |
+
# Verify ngrok version
|
39 |
+
RUN /usr/local/bin/ngrok version
|
40 |
|
41 |
# Move ngrok binary to destination directory
|
42 |
+
RUN mv ngrok /usr/local/bin/ngrok
|
43 |
|
44 |
# Set permissions for ngrok
|
45 |
+
RUN chmod +x /usr/local/bin/ngrok
|
|
|
46 |
|
47 |
# Create ngrok configuration
|
48 |
RUN mkdir -p $HOME/.ngrok2 && \
|