Skip to content

Commit 6f3194b

Browse files
committed
fix: volume path
1 parent 4e87249 commit 6f3194b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ FROM docker.io/library/rust:1.89.0-alpine3.22 as builder
22

33
RUN apk add --no-cache musl-dev perl make protobuf-dev
44
COPY . .
5-
WORKDIR /app
5+
WORKDIR /volume
66
RUN --mount=type=cache,target=/volume/target \
77
--mount=type=cache,target=/root/.cargo/registry \
88
cargo build --release -p pulsebeam && \
9-
mv target/release/pulsebeam pulsebeam-bin
9+
mv /volume/target/release/pulsebeam /volume/pulsebeam-bin
1010

1111

1212
# FROM docker.io/chainguard/static
1313
FROM alpine:3.22
1414

1515
WORKDIR /app
16-
COPY --from=builder --chown=nonroot:nonroot /app/pulsebeam-bin /app/pulsebeam
16+
COPY --from=builder --chown=nonroot:nonroot /volume/pulsebeam-bin /app/pulsebeam
1717

1818
EXPOSE 3478/udp 3000
1919

0 commit comments

Comments
 (0)