File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,5 +53,5 @@ COPY --chmod=775 start.sh /
5353
5454# Set working directory and define entrypoint/healthcheck.
5555WORKDIR /ex_app/lib
56- ENTRYPOINT ["/start.sh" ]
56+ ENTRYPOINT ["/start.sh" , "python3" , "main.py" ]
5757HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh
Original file line number Diff line number Diff line change 3030
3131.PHONY : build-push
3232build-push :
33- docker login ghcr.io
33+ # docker login ghcr.io
3434 DOCKER_BUILDKIT=1 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/app-skeleton-python:latest .
3535
3636.PHONY : run30
Original file line number Diff line number Diff line change @@ -60,6 +60,6 @@ if [ -f /frpc.toml ] && [ -n "$HP_SHARED_KEY" ]; then
6060 frpc -c /frpc.toml &
6161fi
6262
63- # Start the main application (adjust it for your ExApp)
64- echo " Starting main application... "
65- exec python3 main.py
63+ # Start the main application (launch cmd for ExApp is an argument for this script )
64+ echo " Starting application: $@ "
65+ exec " $@ "
You can’t perform that action at this time.
0 commit comments