Think I got it :)

This commit is contained in:
goose-ws 2021-01-21 07:04:43 -05:00 committed by GitHub
parent 8f1009d352
commit a8d1847515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,9 +15,7 @@ RUN set -ex \
&& curl -sSfLo /usr/bin/gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" \
&& chmod 0755 \
/usr/bin/dumb-init \
/usr/bin/gosu \
&& apk --no-cache del \
curl
/usr/bin/gosu
VOLUME /config
EXPOSE 8000 8001
@ -25,3 +23,6 @@ EXPOSE 8000 8001
ADD startup.sh /usr/bin/startup.sh
ENTRYPOINT ["/usr/bin/startup.sh"]
# healthcheck
HEALTHCHECK CMD curl -sL --fail localhost:8000 || exit 1