13 lines
356 B
Docker
13 lines
356 B
Docker
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"]
|