Skip to content

Commit

Permalink
chore: Optimize Dockerfile for backend, build smaller image with Alpi…
Browse files Browse the repository at this point in the history
…ne Linux
  • Loading branch information
nilgaar committed Jul 20, 2024
1 parent 14669c5 commit 5440adc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN go mod download

COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./main.go
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .

FROM alpine:latest

Expand Down

0 comments on commit 5440adc

Please sign in to comment.