FROM golang:1.18 # Set app workdir WORKDIR /go/src/app # Copy application sources COPY . . # Build app RUN go build -o app gitea.russia9.dev/Russia9/chatwars-spy/cmd/main # Run app CMD ["./app"]