diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..6a5aecb --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM golang:1.23 + +WORKDIR /opt/GoTomato + +COPY go.mod go.sum ./ +RUN go mod download && go mod verify + +COPY . . +RUN go build -v -o /GoTomato + +EXPOSE 8080 +CMD [ "/GoTomato" ]