Skip to content

Commit

Permalink
chore: add ellipsis Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
smsunarto committed Jun 29, 2024
1 parent b0f70b5 commit c206c51
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/ellipsis.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM golang:1.22-bookworm

WORKDIR /go/src/app

# Copy the go module files and download the dependencies
# We do this before copying the rest of the source code to avoid
# having to re-download the dependencies every time we build the image
COPY /cardinal/go.mod /cardinal/go.sum ./
RUN go mod download

# Copy the rest of the source code and build the binary
COPY . .

0 comments on commit c206c51

Please sign in to comment.