We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dbd2b09 commit 2af2224Copy full SHA for 2af2224
Dockerfile
@@ -56,5 +56,5 @@ COPY --chmod=775 healthcheck.sh /
56
COPY --chmod=775 start.sh /
57
58
WORKDIR /ex_app/lib
59
-ENTRYPOINT ["/start.sh"]
+ENTRYPOINT ["/start.sh", "python3", "main.py"]
60
HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh
start.sh
@@ -60,6 +60,6 @@ if [ -f /frpc.toml ] && [ -n "$HP_SHARED_KEY" ]; then
frpc -c /frpc.toml &
61
fi
62
63
-# Start the main application (adjust it for your ExApp)
64
-echo "Starting main application..."
65
-exec python3 main.py
+# Start the main application (launch cmd for ExApp is an argument for this script)
+echo "Starting application: $@"
+exec "$@"
0 commit comments