initial
This commit is contained in:
commit
658ad9e047
9 files changed
+2158
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
# Build stage
|
||||
FROM ghcr.io/rust-cross/cargo-zigbuild:latest as builder
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
COPY . .
|
||||
|
||||
RUN cargo zigbuild --release --target x86_64-unknown-linux-gnu.2.28
|
||||
|
||||
# Runtime stage
|
||||
FROM debian:buster-slim
|
||||
|
||||
RUN apt-get update && apt-get install -y \
|
||||
ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /usr/local/bin
|
||||
COPY --from=builder /usr/src/app/target/x86_64-unknown-linux-gnu/release/plistserver .
|
||||
|
||||
CMD ["./plistserver"]
|
||||
Reference in new issue
Block a user