Skip to content

Commit

Permalink
yaml docker branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Ndeta100 committed Aug 30, 2024
1 parent 9400d62 commit 5106b46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ RUN go mod download
# Copy the source code into the container
COPY . .

# Copy the .env file to the working directory
COPY .env ../

# Build the Go app with static linking
RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o main .

Expand Down

0 comments on commit 5106b46

Please sign in to comment.