chg: Renamed the project
When starting out, I kept the name same as the original project. But I think I've made significant changes, so keeping the name same would be disingenuous.
This commit is contained in:
@@ -6,8 +6,8 @@ RUN rustup target add "$TARGET"
|
||||
|
||||
RUN cargo install cargo-build-deps
|
||||
|
||||
RUN cargo new --bin simply-shorten
|
||||
WORKDIR /simply-shorten
|
||||
RUN cargo new --bin chhoto-url
|
||||
WORKDIR /chhoto-url
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
@@ -22,7 +22,7 @@ RUN cargo build --release --locked --target "$TARGET"
|
||||
|
||||
FROM scratch
|
||||
|
||||
COPY --from=build /simply-shorten/target/x86_64-unknown-linux-musl/release/simply-shorten /simply-shorten
|
||||
COPY --from=build /chhoto-url/target/x86_64-unknown-linux-musl/release/chhoto-url /chhoto-url
|
||||
COPY ./actix/resources /resources
|
||||
|
||||
CMD ["/simply-shorten"]
|
||||
CMD ["/chhoto-url"]
|
||||
|
||||
Reference in New Issue
Block a user