repos / git-pr

a self-hosted git collaboration server
git clone https://github.com/picosh/git-pr.git

commit
a8c8af4
parent
c1bb7fc
author
Eric Bower
date
2024-07-10 13:48:58 -0400 EDT
fix: use command override
2 files changed,  +4, -2
M Dockerfile
+2, -2
 1@@ -45,7 +45,7 @@ WORKDIR /app
 2 COPY --from=builder-web /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
 3 COPY --from=builder-web /go/bin/web ./web
 4 
 5-ENTRYPOINT ["/app/web", "--config", "${GITPR_CONFIG_PATH}"]
 6+CMD ["/app/web"]
 7 
 8 FROM scratch as release-ssh
 9 
10@@ -55,4 +55,4 @@ ENV TERM="xterm-256color"
11 COPY --from=builder-ssh /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
12 COPY --from=builder-ssh /go/bin/ssh ./ssh
13 
14-ENTRYPOINT ["/app/ssh", "--config", "${GITPR_CONFIG_PATH}"]
15+CMD ["/app/ssh"]
M docker-compose.prod.yml
+2, -0
 1@@ -19,6 +19,7 @@ services:
 2       - "${GITPR_HTTPS_V6:-[::1]:443}:443"
 3       - "${GITPR_HTTP_V6:-[::1]:80}:80"
 4   web:
 5+    command: "/app/web --config ${GITPR_CONFIG_PATH}"
 6     networks:
 7       git:
 8         aliases:
 9@@ -26,6 +27,7 @@ services:
10     env_file:
11       - .env.prod
12   ssh:
13+    command: "/app/ssh --config ${GITPR_CONFIG_PATH}"
14     networks:
15       git:
16         aliases: