mirror of
https://git.numenor-labs.us/dsfx.git
synced 2025-04-29 08:10:34 +00:00
16 lines
209 B
Docker
16 lines
209 B
Docker
FROM golang:1.24 AS builder
|
|
|
|
WORKDIR /app
|
|
|
|
COPY . .
|
|
|
|
RUN GOOS=linux CGO_ENABLED=0 go build -o /app/dsfx ./cmd/dsfx
|
|
|
|
FROM scratch
|
|
|
|
COPY --from=builder /app/dsfx /app/dsfx
|
|
|
|
EXPOSE 8000
|
|
|
|
ENTRYPOINT ["/app/dsfx"]
|