No tarball for gmail
This commit is contained in:
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@@ -0,0 +1,14 @@
|
||||
FROM rust as builder
|
||||
|
||||
WORKDIR /opt/pubsub-client
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN apt update
|
||||
RUN apt install -y cmake
|
||||
RUN cargo build --release
|
||||
|
||||
FROM rust
|
||||
WORKDIR /opt/
|
||||
COPY --from=builder /opt/pubsub-client/target/release/client .
|
||||
ENTRYPOINT ["/opt/client"]
|
||||
Reference in New Issue
Block a user