Files
DiunDashboard/Dockerfile

11 lines
187 B
Docker

FROM golang:1.26-alpine AS builder
WORKDIR /app
COPY . .
RUN go build -o app
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/app .
COPY static ./static
EXPOSE 8080
CMD ["./app"]