shad-go/firegod/Dockerfile

12 lines
196 B
Docker
Raw Permalink Normal View History

FROM golang:1.22
RUN ["mkdir", "-p", "/build"]
WORKDIR /build
COPY . .
RUN ["go", "build", "-tags", "solution", "-o", "/firegod", "./firegod"]
ENTRYPOINT [ "/firegod", "-http=0.0.0.0:8080" ]