Spaces:
Paused
Paused
File size: 303 Bytes
83a59ca | 1 2 3 4 5 6 7 8 9 10 11 12 13 | FROM golang:1.25-alpine AS build
WORKDIR /src
COPY go.mod ./
RUN go mod download
COPY . .
RUN CGO_ENABLED=0 go build -o /out/adapter-emulator .
FROM alpine:3.22
RUN adduser -D -u 10001 app
USER app
COPY --from=build /out/adapter-emulator /usr/local/bin/adapter-emulator
ENTRYPOINT ["adapter-emulator"]
|