Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +1 -4
Dockerfile
CHANGED
@@ -30,8 +30,5 @@ RUN apt-get update && \
|
|
30 |
mv ngrok /usr/local/bin/ngrok && \
|
31 |
rm ngrok.zip
|
32 |
|
33 |
-
# Set ngrok authentication token
|
34 |
-
RUN ngrok authtoken 2e6JSMo1mBy4br3Zfkh5ZxjNi8k_7t1xRvVGdwSQhf4uUmTZp
|
35 |
-
|
36 |
# Command to run the application
|
37 |
-
CMD ["sh", "-c", "python app/app.py & ngrok http 8000"]
|
|
|
30 |
mv ngrok /usr/local/bin/ngrok && \
|
31 |
rm ngrok.zip
|
32 |
|
|
|
|
|
|
|
33 |
# Command to run the application
|
34 |
+
CMD ["sh", "-c", "ngrok authtoken $NGROK_AUTH_TOKEN && python app/app.py & ngrok http 8000"]
|