Update Dockerfile
Browse files- Dockerfile +3 -9
Dockerfile
CHANGED
@@ -81,9 +81,9 @@ RUN wget https://github.com/mozilla/geckodriver/releases/download/v0.34.0/geckod
|
|
81 |
sudo chmod +x /usr/local/bin/geckodriver && \
|
82 |
geckodriver --version
|
83 |
|
84 |
-
RUN sudo tar -xvzf ~/Downloads/https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin
|
85 |
-
|
86 |
-
|
87 |
|
88 |
# Install PDM
|
89 |
RUN curl -sSL https://pdm-project.org/install-pdm.py | python3 -
|
@@ -117,12 +117,6 @@ COPY requirements.txt .
|
|
117 |
RUN pip install --no-cache-dir -r requirements.txt && \
|
118 |
rm -rf requirements.txt
|
119 |
|
120 |
-
# Install Ngrok
|
121 |
-
RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip && \
|
122 |
-
unzip ngrok-stable-linux-amd64.zip && \
|
123 |
-
mv ngrok /usr/local/bin && \
|
124 |
-
rm ngrok-stable-linux-amd64.zip
|
125 |
-
|
126 |
# Set Ngrok auth token
|
127 |
RUN ngrok authtoken 2cGfgGDHdluSTeFTJqCEIs5hxcV_2KgRGSKrG5frg323m3dXK
|
128 |
|
|
|
81 |
sudo chmod +x /usr/local/bin/geckodriver && \
|
82 |
geckodriver --version
|
83 |
|
84 |
+
RUN sudo tar -xvzf ~/Downloads/https://bin.equinox.io/c/bNyj1mQVY4c/ngrok-v3-stable-linux-amd64.tgz -C /usr/local/bin
|
85 |
+
RUN ngrok config add-authtoken 2cGfgGDHdluSTeFTJqCEIs5hxcV_2KgRGSKrG5frg323m3dXK
|
86 |
+
RUN ngrok http --domain=leech-safe-vastly.ngrok-free.app 31415
|
87 |
|
88 |
# Install PDM
|
89 |
RUN curl -sSL https://pdm-project.org/install-pdm.py | python3 -
|
|
|
117 |
RUN pip install --no-cache-dir -r requirements.txt && \
|
118 |
rm -rf requirements.txt
|
119 |
|
|
|
|
|
|
|
|
|
|
|
|
|
120 |
# Set Ngrok auth token
|
121 |
RUN ngrok authtoken 2cGfgGDHdluSTeFTJqCEIs5hxcV_2KgRGSKrG5frg323m3dXK
|
122 |
|