0
0
docker-images/dockerfiles/redlib.Dockerfile

13 lines
356 B
Docker
Raw Normal View History

2024-10-09 07:04:17 +08:00
FROM quay.io/redlib/redlib:latest
# Use custome accent colour
RUN sed -i 's/red/#205EA6/g' /usr/local/bin/static/style.css
# Tell Docker to expose port 8080
EXPOSE 8080
# Run a healthcheck every minute to make sure redlib is functional
HEALTHCHECK --interval=1m --timeout=3s CMD wget --spider -q http://localhost:8080/settings || exit 1
CMD ["redlib"]