FROM golang:alpine as build WORKDIR /app COPY . . RUN go build FROM alpine:latest COPY --from=build /app/jaf /app/jaf WORKDIR /app RUN mkdir -p /var/www/jaf CMD ["./jaf"]