Files
gochat/deploy/quickstart/captain-fixture/Dockerfile
T
Rogeeandrogee abb1bed424 H-337: add local Captain acceptance fixture (#63)
* 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>
2026-08-20 20:05:40 +08:00

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"]