mirror of
https://github.com/luzifer-docker/icecast2.git
synced 2024-12-20 18:41:19 +00:00
Think I got it :)
This commit is contained in:
parent
8f1009d352
commit
a8d1847515
1 changed files with 4 additions and 3 deletions
|
@ -15,9 +15,7 @@ RUN set -ex \
|
||||||
&& curl -sSfLo /usr/bin/gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" \
|
&& curl -sSfLo /usr/bin/gosu "https://github.com/tianon/gosu/releases/download/${GOSU_VERSION}/gosu-amd64" \
|
||||||
&& chmod 0755 \
|
&& chmod 0755 \
|
||||||
/usr/bin/dumb-init \
|
/usr/bin/dumb-init \
|
||||||
/usr/bin/gosu \
|
/usr/bin/gosu
|
||||||
&& apk --no-cache del \
|
|
||||||
curl
|
|
||||||
|
|
||||||
VOLUME /config
|
VOLUME /config
|
||||||
EXPOSE 8000 8001
|
EXPOSE 8000 8001
|
||||||
|
@ -25,3 +23,6 @@ EXPOSE 8000 8001
|
||||||
ADD startup.sh /usr/bin/startup.sh
|
ADD startup.sh /usr/bin/startup.sh
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/startup.sh"]
|
ENTRYPOINT ["/usr/bin/startup.sh"]
|
||||||
|
|
||||||
|
# healthcheck
|
||||||
|
HEALTHCHECK CMD curl -sL --fail localhost:8000 || exit 1
|
||||||
|
|
Loading…
Reference in a new issue