diff --git a/Dockerfile b/Dockerfile index 34cc2d1..6a39162 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN unzip -o ngrok.zip -d /bin && \ # Add config script ADD ngrok.yml /home/ngrok/.ngrok2/ -ADD ngrok_discover /bin/ngrok_discover +ADD entrypoint.sh / # Create non-root user RUN echo 'ngrok:x:6737:6737:Ngrok user:/home/ngrok:/bin/false' >> /etc/passwd @@ -21,4 +21,4 @@ USER ngrok EXPOSE 4040 -CMD ["/bin/ngrok_discover"] +CMD ["/entrypoint.sh"] diff --git a/ngrok_discover b/entrypoint.sh similarity index 100% rename from ngrok_discover rename to entrypoint.sh