* H-337: add local Captain acceptance fixture * fix(H-337): close acceptance fixture review gaps * fix(H-337): reject non-string skill metadata --------- Co-authored-by: Rogee <rogee@ipao.vip>
13 lines
336 B
Docker
13 lines
336 B
Docker
FROM golang:1.25.13-alpine AS build
|
|
|
|
WORKDIR /src
|
|
COPY go.mod main.go ./
|
|
RUN CGO_ENABLED=0 go build -ldflags="-s -w" -o /captain-fixture .
|
|
|
|
FROM alpine:3.21
|
|
RUN addgroup -S fixture && adduser -S fixture -G fixture
|
|
COPY --from=build /captain-fixture /usr/local/bin/captain-fixture
|
|
USER fixture
|
|
EXPOSE 8080
|
|
ENTRYPOINT ["captain-fixture"]
|