File tree 3 files changed +5
-5
lines changed
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 /
53
53
54
54
# Set working directory and define entrypoint/healthcheck.
55
55
WORKDIR /ex_app/lib
56
- ENTRYPOINT ["/start.sh" ]
56
+ ENTRYPOINT ["/start.sh" , "python3" , "main.py" ]
57
57
HEALTHCHECK --interval=2s --timeout=2s --retries=300 CMD /healthcheck.sh
Original file line number Diff line number Diff line change 30
30
31
31
.PHONY : build-push
32
32
build-push :
33
- docker login ghcr.io
33
+ # docker login ghcr.io
34
34
DOCKER_BUILDKIT=1 docker buildx build --push --platform linux/arm64/v8,linux/amd64 --tag ghcr.io/nextcloud/app-skeleton-python:latest .
35
35
36
36
.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
60
60
frpc -c /frpc.toml &
61
61
fi
62
62
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