Skip to content

Commit

Permalink
Add main.go to Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
rabilrbl committed Jan 23, 2024
1 parent 101b391 commit f6f3980
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COPY cmd ./cmd
COPY pkg ./pkg
COPY web ./web
COPY internal ./internal
COPY main.go ./main.go

# Build the Go app with optimizations
RUN go build -ldflags="-s -w" -trimpath -o /app/jiotv_go .
Expand Down

0 comments on commit f6f3980

Please sign in to comment.