strfry-cloudron/Dockerfile
2025-03-05 12:17:50 +00:00

24 lines
756 B
Docker

FROM cloudron/base:4.2.0@sha256:46da2fffb36353ef714f97ae8e962bd2c212ca091108d768ba473078319a47f4
RUN apt update && apt install -y --no-install-recommends \
liblmdb0 libflatbuffers1 libsecp256k1-0 libb2-1 libzstd1 \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /app/code /app/pkg
WORKDIR /app/code
ARG STRFRY_VERSION=v0.9.6
ARG CHIEF_VERSION=v1.0.0
RUN wget https://github.com/sebdeveloper6952/strfry/releases/download/${STRFRY_VERSION}/strfry
RUN wget https://github.com/sebdeveloper6952/chief/releases/download/${CHIEF_VERSION}/chief
COPY start.sh start.sh
RUN chmod +x start.sh strfry chief
COPY strfry.conf /app/pkg/strfry.conf
COPY chief-config.toml /etc/chief/config.toml
COPY chief.json /app/pkg/chief.json
CMD [ "/app/code/start.sh" ]