Browse Source

Dockerfile: exit code has to be binary

pull/371/head
Pratik 2 years ago
committed by GitHub
parent
commit
bad37892a9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      Dockerfile

4
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

Loading…
Cancel
Save