2023-12-09 05:57:33 +00:00
|
|
|
FROM typesense/typesense:0.26.0.rc39
|
2022-12-16 13:47:24 +00:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get upgrade -y && \
|
|
|
|
apt-get install -y \
|
|
|
|
apt-transport-https \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
gnupg-agent \
|
|
|
|
software-properties-common
|
|
|
|
|
|
|
|
HEALTHCHECK --interval=30s --timeout=15s --start-period=30s --retries=5 CMD [ "curl -f 'http://localhost:8108/health' || exit 1" ]
|
|
|
|
|
|
|
|
EXPOSE 8108
|
|
|
|
|
|
|
|
ENTRYPOINT ["/opt/typesense-server"]
|