m/cup
1
0
mirror of https://github.com/sergi0g/cup.git synced 2025-11-08 05:03:49 -05:00

Complete rewrite

This commit is contained in:
Sergio
2024-07-08 16:57:00 +03:00
commit a3068324ee
19 changed files with 3653 additions and 0 deletions

16
Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
FROM rust:alpine AS build
WORKDIR /cup
RUN apk add musl-dev
COPY src src
COPY Cargo.toml .
COPY Cargo.lock .
RUN cargo build --release
FROM scratch
COPY --from=build /cup/target/release/cup /cup
COPY --from=build /cup/target/release/cup.d /cup.d
ENTRYPOINT ["/cup"]