mirror of
https://github.com/gotify/server.git
synced 2024-01-28 15:20:56 +03:00
13 lines
416 B
Docker
13 lines
416 B
Docker
FROM amd64/debian:stable-slim
|
|
ENV GOTIFY_SERVER_PORT="80"
|
|
WORKDIR /app
|
|
RUN export DEBIAN_FRONTEND=noninteractive && apt-get update && apt-get install -yq \
|
|
tzdata \
|
|
curl \
|
|
ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
ADD gotify-app /app/
|
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s CMD curl --fail http://localhost:$GOTIFY_SERVER_PORT/health || exit 1
|
|
EXPOSE 80
|
|
ENTRYPOINT ["./gotify-app"]
|