add radicle images

This commit is contained in:
ace
2026-01-09 22:15:58 +03:00
parent 49881ed2e0
commit 45d0642fb9
7 changed files with 152 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
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"]