File size: 211 Bytes
036056f
 
6143098
 
 
036056f
 
6143098
 
797f8c1
6143098
036056f
797f8c1
1
2
3
4
5
6
7
8
9
10
11
12
13
# Stage 1: Build the Go application
FROM golang:1.18

WORKDIR /code

COPY go.mod go.sum ./
RUN go mod download

COPY . .
RUN go build -o restgin 

# Define the command to run your application
CMD [ "./restgin" ]