File size: 277 Bytes
79c7b05
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# golang image and setup for the gin server
FROM golang:1.24.1

# Set the working directory in the container
WORKDIR /app

# Copy the current directory contents into the container at /app
COPY . /app

RUN go mod download

RUN go build -o ragtag

EXPOSE 8080

CMD ["./ragtag"]