FROM golang:1.21-alpine AS builder WORKDIR /app COPY go.mod go.sum ./ RUN go mod download COPY *.go ./ RUN CGO_ENABLED=0 GOOS=linux go build -o ramz . FROM alpine:latest WORKDIR /root/ COPY --from=builder /app/ramz . COPY static/ ./static/ EXPOSE 3333 CMD ["./ramz"]