FROM almalinux:10 RUN dnf install -y epel-release dnf-plugins-core \ && dnf update -y \ && dnf config-manager --enable crb \ && dnf clean all \ && rm -rf /var/cache/yum RUN dnf install -y git npm \ && dnf clean all \ && rm -rf /var/cache/yum ARG RADICLE_EXPLORER_VERSION WORKDIR / RUN git clone https://rosa.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git radicle-explorer WORKDIR /radicle-explorer RUN git checkout ${RADICLE_EXPLORER_VERSION} && rm -rf .git ENV VITE_RUNTIME_CONFIG=true RUN npm install RUN npm run build RUN sed -i s/localhost/0.0.0.0/g /radicle-explorer/vite.config.ts EXPOSE 3000 #ENV RUST_BACKTRACE=1 # #HEALTHCHECK \ # --interval=60s \ # --timeout=10s \ # --start-period=60s \ # --start-interval=5s \ # --retries=3 \ # CMD [ "/sbin/kanidmd", "healthcheck", "-c", "/data/server.toml"] # CMD [ "npm", "run", "start"]