Browse Source
Dockerfile: exit code has to be binary
pull/371/head
Pratik
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
1 deletions
-
Dockerfile
|
|
@ -25,7 +25,9 @@ ENV BIND_ADDRESS=:4050 \ |
|
|
|
UID=1337 \ |
|
|
|
GID=1337 |
|
|
|
|
|
|
|
HEALTHCHECK --interval=5s --timeout=3s CMD wget -qS -O /dev/null localhost${BIND_ADDRESS}/test | awk -F':' '$1 ~ / Status$/ { print $2 ~ /200 OK/ }' |
|
|
|
HEALTHCHECK --interval=5s --timeout=3s \ |
|
|
|
CMD wget -qS -O /dev/null localhost${BIND_ADDRESS}/test \ |
|
|
|
| awk -F':' '$1 ~ / Status$/ { print $2 ~ /200 OK/ }' || exit 1 |
|
|
|
|
|
|
|
COPY --from=builder /tmp/go-neb/go-neb /usr/local/bin/go-neb |
|
|
|
# Copy libolm.so |
|
|
|