Skip to content

Commit 60d6f9a

Browse files
committed
polish
1 parent 10c3e8d commit 60d6f9a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Contribution are welcome 🙏
22

3-
You need to have the Rust tool belt for developing jwt-cli
3+
You need to have the Rust tool belt for developing jwt-ui
44

55
Install Rust tool belt following [this](https://www.rust-lang.org/tools/install). This will install `rustup`, `rustc` and `cargo`
66

Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -----------------------------
2-
# Build jwt-cli base image
2+
# Build jwt-ui base image
33
# -----------------------------
44

55
FROM rust as builder
@@ -12,8 +12,8 @@ RUN apt-get update && \
1212
rustup target add x86_64-unknown-linux-musl
1313

1414
# Download and compile Rust dependencies in an empty project and cache as a separate Docker layer
15-
RUN USER=root cargo new --bin jwt-cli-temp
16-
WORKDIR /usr/src/jwt-cli-temp
15+
RUN USER=root cargo new --bin jwt-ui-temp
16+
WORKDIR /usr/src/jwt-ui-temp
1717
COPY ./Cargo.lock ./Cargo.lock
1818
COPY ./Cargo.toml ./Cargo.toml
1919
RUN cargo build --release --target x86_64-unknown-linux-musl
@@ -26,16 +26,16 @@ COPY src ./src
2626
RUN apt-get update && \
2727
apt-get install -y pkg-config libssl-dev libxcb-composite0-dev
2828
# remove previous deps
29-
RUN rm ./target/x86_64-unknown-linux-musl/release/deps/jwt-cli*
29+
RUN rm ./target/x86_64-unknown-linux-musl/release/deps/jwt-ui*
3030
RUN cargo build --release --target x86_64-unknown-linux-musl
3131

3232
# -----------------------------
33-
# build final jwt-cli image
33+
# build final jwt-ui image
3434
# -----------------------------
3535

3636
FROM alpine:latest
3737

3838
# Copy the compiled binary from the builder container
39-
COPY --from=builder /usr/src/jwt-cli-temp/target/x86_64-unknown-linux-musl/release/jwt-cli /usr/local/bin
39+
COPY --from=builder /usr/src/jwt-ui-temp/target/x86_64-unknown-linux-musl/release/jwtui /usr/local/bin
4040

41-
ENTRYPOINT [ "/usr/local/bin/jwt-cli" ]
41+
ENTRYPOINT [ "/usr/local/bin/jwtui" ]

0 commit comments

Comments
 (0)