Skip to content

Commit

Permalink
use alpine for smaller container
Browse files Browse the repository at this point in the history
  • Loading branch information
piqoni committed Oct 15, 2023
1 parent 09dd6ec commit d11aeab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1

FROM golang:1.21
FROM golang:1.21.3-alpine3.17

# Set destination for COPY
WORKDIR /app
Expand Down Expand Up @@ -28,4 +28,4 @@ RUN CGO_ENABLED=0 GOOS=linux go build -o /incidents
EXPOSE 8080

# Run
CMD ["/incidents"]
CMD ["/incidents"]

0 comments on commit d11aeab

Please sign in to comment.