save
All checks were successful
Rust Checks / checks (push) Successful in 1m14s
Rust Checks / checks (pull_request) Successful in 1m23s

This commit is contained in:
CoCo_Sol 2024-02-11 15:19:39 +01:00
parent c2ace46c20
commit 3162a316bf

11
Containerfile Normal file
View file

@ -0,0 +1,11 @@
FROM rust:alpine AS builder
RUN apk add musl-dev
WORKDIR /app
COPY . .
RUN cargo build --package relay-server --release
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/target/release/relay-server .
EXPOSE 80/tcp
CMD ["./relay-server"]