Update Dockerfile
Browse files- Dockerfile +5 -10
Dockerfile
CHANGED
@@ -28,18 +28,13 @@ 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-stable-linux-amd64.tgz -O /tmp/ngrok.tgz
|
33 |
-
|
34 |
-
# Extract ngrok binary to /usr/local/bin with elevated permissions
|
35 |
-
RUN sudo tar xvzf /tmp/ngrok.tgz -C /usr/local/bin && \
|
36 |
rm /tmp/ngrok.tgz
|
37 |
|
38 |
-
#
|
39 |
-
RUN
|
40 |
-
|
41 |
-
# Set permissions for ngrok
|
42 |
-
RUN chmod +x /usr/local/bin/ngrok
|
43 |
|
44 |
# Verify ngrok version
|
45 |
RUN /usr/local/bin/ngrok version
|
|
|
28 |
# Copy the application files into the container
|
29 |
COPY --chown=user . $HOME/app
|
30 |
|
31 |
+
# Download and install ngrok
|
32 |
+
RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.tgz -O /tmp/ngrok.tgz && \
|
33 |
+
tar xvzf /tmp/ngrok.tgz -C /usr/local/bin && \
|
|
|
|
|
34 |
rm /tmp/ngrok.tgz
|
35 |
|
36 |
+
# Update ngrok
|
37 |
+
RUN /usr/local/bin/ngrok update
|
|
|
|
|
|
|
38 |
|
39 |
# Verify ngrok version
|
40 |
RUN /usr/local/bin/ngrok version
|