Skip to content

Commit bad8cef

Browse files
committed
chore: upstream release workflow uses --package cuprated. Both work for a single-binary package, but --package is canonical for workspace members.
1 parent 42d5c73 commit bad8cef

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ WORKDIR /usr/src/cuprate
2424
RUN --mount=type=cache,target=/usr/local/cargo/registry \
2525
--mount=type=cache,target=/usr/local/cargo/git \
2626
--mount=type=cache,target=/usr/src/cuprate/target \
27-
cargo build --release --bin cuprated && \
27+
cargo build --release --package cuprated && \
2828
cp target/release/cuprated /usr/local/bin/cuprated
2929

3030
# Runtime stage
@@ -71,9 +71,6 @@ EXPOSE 18080/tcp 28080/tcp 38080/tcp
7171
# Expose restricted RPC ports (mainnet, testnet, stagenet)
7272
EXPOSE 18089/tcp 28089/tcp 38089/tcp
7373

74-
# Set up a volume for persistent data
75-
VOLUME ["/home/cuprate/.local/share/cuprate", "/home/cuprate/.config/cuprate"]
76-
7774
# Default command
7875
ENTRYPOINT ["cuprated"]
7976
CMD ["--config-file", "/home/cuprate/.config/cuprate/Cuprated.toml"]

0 commit comments

Comments
 (0)