This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
# Server-Modus: langlebiger HTTP-Dienst (StreamableHTTP /mcp + Admin).
|
||||
# Im Gegensatz zum stdio-Containerfile wird hier `dtrack-http` gebaut.
|
||||
|
||||
# ── Build-Stage: statisches musl-Binary ──
|
||||
FROM rust:alpine AS build
|
||||
RUN apk add --no-cache musl-dev
|
||||
WORKDIR /src
|
||||
COPY . .
|
||||
RUN cargo build --release --bin dtrack-http
|
||||
|
||||
# ── Runtime-Stage ──
|
||||
FROM alpine:3.20
|
||||
RUN apk add --no-cache ca-certificates
|
||||
COPY --from=build /src/target/release/dtrack-http /usr/local/bin/dtrack-http
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ["/usr/local/bin/dtrack-http"]
|
||||
Reference in New Issue
Block a user