Vitrous commited on
Commit
6378b5c
·
verified ·
1 Parent(s): 5e2b380

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -39,6 +39,14 @@ RUN wget https://bin.equinox.io/c/4VmDzA7iaHb/ngrok-stable-linux-amd64.zip && \
39
  # Set permissions for ngrok
40
  RUN chmod +x $HOME/.local/bin/ngrok
41
 
 
 
 
 
 
 
 
 
42
  # Expose the ports for FastAPI and ngrok's web interface
43
  EXPOSE 7860
44
  EXPOSE 4040
 
39
  # Set permissions for ngrok
40
  RUN chmod +x $HOME/.local/bin/ngrok
41
 
42
+ # Create the .ngrok2 directory and add ngrok authentication token
43
+ RUN mkdir -p $HOME/.ngrok2 && \
44
+ echo "authtoken: 1XtU01EKWysplGQ8fz54lVUQpnQ_3KKhw6YNQ5E85rxdkgXx4" > $HOME/.ngrok2/ngrok.yml
45
+
46
+ # Create the .local/bin directory and move ngrok into it
47
+ RUN mkdir -p $HOME/.local/bin && \
48
+ mv ngrok $HOME/.local/bin
49
+
50
  # Expose the ports for FastAPI and ngrok's web interface
51
  EXPOSE 7860
52
  EXPOSE 4040