Files
pez-solochain-template/Dockerfile
T
google-labs-jules[bot] c297b0f009 Rebrand Solochain Template to PezkuwiChain
This commit applies the PezkuwiChain terminology to the Solochain Template.

Changes include:
- Renaming packages:
    - `solochain-template-node` -> `pez-solochain-template-node`
    - `solochain-template-runtime` -> `pez-solochain-template-runtime`
- Updating dependencies in `Cargo.toml` files.
- Fixing the `solochain-template-runtime` path in the root `Cargo.toml`.
- Updating `runtime/src/lib.rs` with new `spec_name` and `impl_name`.
- Rebranding documentation and comments (Polkadot -> Pezkuwi, Parachain -> TeyrChain).
- Updating `Dockerfile` binary names.
2026-01-11 10:44:27 +00:00

29 lines
764 B
Docker

FROM docker.io/paritytech/ci-unified:latest as builder
WORKDIR /pezkuwi
COPY . /pezkuwi
RUN cargo fetch
RUN cargo build --locked --release
FROM docker.io/parity/base-bin:latest
COPY --from=builder /pezkuwi/target/release/pez-solochain-template-node /usr/local/bin
USER root
RUN useradd -m -u 1001 -U -s /bin/sh -d /pezkuwi pezkuwi && \
mkdir -p /data /pezkuwi/.local/share && \
chown -R pezkuwi:pezkuwi /data && \
ln -s /data /pezkuwi/.local/share/pezkuwi && \
# unclutter and minimize the attack surface
rm -rf /usr/bin /usr/sbin && \
# check if executable works in this container
/usr/local/bin/pez-solochain-template-node --version
USER pezkuwi
EXPOSE 30333 9933 9944 9615
VOLUME ["/data"]
ENTRYPOINT ["/usr/local/bin/pez-solochain-template-node"]