File tree Expand file tree Collapse file tree 2 files changed +29
-0
lines changed
Expand file tree Collapse file tree 2 files changed +29
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM alpine:3
2+
3+ RUN apk add --no-cache tar curl xz && adduser -D radicle
4+
5+ ARG VERSION=1.7.1
6+ RUN curl -o radicle.tar.xyz https://files.radicle.xyz/releases/latest/radicle-${VERSION}-x86_64-unknown-linux-musl.tar.xz && \
7+ tar -C / -xf radicle.tar.xyz && \
8+ mv /radicle-${VERSION}-x86_64-unknown-linux-musl/bin/* /usr/local/bin && \
9+ rm -rf /radicle-${VERSION}-x86_64-unknown-linux-musl
10+
11+ WORKDIR /home/radicle
12+ USER radicle:radicle
13+
14+ CMD ["radicle-node" ]
Original file line number Diff line number Diff line change 1+ FROM node:20-slim
2+
3+ RUN apt-get update && apt-get install -y --no-install-recommends git ca-certificates curl
4+ RUN git clone https://seed.radicle.xyz/z4V1sjrXqjvFdnCUbxPFqd5p4DtH5 /code && chown 1000:1000 -R /code
5+
6+ USER 1000:1000
7+
8+ WORKDIR /code
9+
10+ RUN npm ci
11+
12+ ENV VITE_RUNTIME_CONFIG=true
13+ EXPOSE 3000
14+
15+ CMD ["npm", "start"]
You can’t perform that action at this time.
0 commit comments