nandi/gleanpublic Fork 0
bfb38a3
Commits
Clone
git clone https://git.rickub.com/nandi/glean.git
git clone ssh://git@rickub.com/nandi/glean.git

Host key fingerprint (ed25519): SHA256:iycHnxEyq0Q7uyVpB7JlznP0G7JrTPXLYRcAU5CSLhc — verify it before your first connect.

build: cleanup dockerfileUnverified

Julien Robert committed 2026-07-02T21:24:50+02:00 Browse files
bfb38a3 parent: 274f3ac
modified .gitignore +1 -1
@@ -4,7 +4,7 @@
44 *.dll
55 *.so
66 *.dylib
7-./glean
7+/glean
88
99 # Test binary, built with `go test -c`
1010 *.test
@@ -4,7 +4,7 @@
4 *.dll4 *.dll
5 *.so5 *.so
6 *.dylib6 *.dylib
7-./glean7+/glean
8 8
9 # Test binary, built with `go test -c`9 # Test binary, built with `go test -c`
10 *.test10 *.test
modified Dockerfile +1 -1
@@ -41,4 +41,4 @@ ENV ORIGIN=http://localhost:3000
4141 EXPOSE 3000
4242
4343 # Run the Go API in the background, then the SvelteKit Node server in front.
44-CMD sh -c 'GLEAN_API_URL=http://127.0.0.1:8080 GLEAN_ADDR=127.0.0.1:8080 glean & node build/index.js'
44+CMD ["sh", "-c", "GLEAN_API_URL=http://127.0.0.1:8080 GLEAN_ADDR=127.0.0.1:8080 glean & GO_PID=$!; trap 'kill $GO_PID' INT TERM; exec node build/index.js"]
@@ -41,4 +41,4 @@ ENV ORIGIN=http://localhost:3000
41 EXPOSE 300041 EXPOSE 3000
42 42
43 # Run the Go API in the background, then the SvelteKit Node server in front.43 # Run the Go API in the background, then the SvelteKit Node server in front.
44-CMD sh -c 'GLEAN_API_URL=http://127.0.0.1:8080 GLEAN_ADDR=127.0.0.1:8080 glean & node build/index.js'44+CMD ["sh", "-c", "GLEAN_API_URL=http://127.0.0.1:8080 GLEAN_ADDR=127.0.0.1:8080 glean & GO_PID=$!; trap 'kill $GO_PID' INT TERM; exec node build/index.js"]