Skip to content

Commit 2cc7b06

Browse files
fix(docker): install protoc for railway build
1 parent 79758fa commit 2cc7b06

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@ FROM rust:1.88-bookworm AS builder
22

33
WORKDIR /app
44

5+
RUN apt-get update \
6+
&& apt-get install -y --no-install-recommends protobuf-compiler \
7+
&& rm -rf /var/lib/apt/lists/*
8+
59
COPY Cargo.toml Cargo.lock ./
610
# vendor/proto/ holds the in-tree snapshot of rustyred.v1 protos that
711
# crates/rustyred-server/build.rs compiles via tonic_build. Copying it

0 commit comments

Comments
 (0)