GoTomato/Dockerfile

13 lines
172 B
Text
Raw Normal View History

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" ]