Skip to content

Commit ed6790c

Browse files
committed
Change base image in Dockerfile.api from scratch to alpine for improved size and security
1 parent ee158a4 commit ed6790c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/server/infra/Dockerfile.api

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ COPY . .
1717
RUN CGO_ENABLED=0 GOFLAGS="-trimpath" go build -o main -ldflags="-s -w" ./cmd/api
1818

1919
# Start a new stage from scratch
20-
FROM scratch
20+
FROM alpine
2121

2222
WORKDIR /app
2323

0 commit comments

Comments
 (0)