Fix for Dockerfile smell DL3006 (#183)

Signed-off-by: Giovanni Rosa <g.rosa1@studenti.unimol.it>
This commit is contained in:
Giovanni Rosa
2023-04-13 05:31:30 +02:00
committed by GitHub
parent e9f340c38f
commit c083b83f3d

View File

@@ -4,7 +4,7 @@ COPY . .
RUN CGO_ENABLED=0 go build -o hmq -a -ldflags '-extldflags "-static"' .
FROM alpine
FROM alpine:3.17.3
WORKDIR /
COPY --from=builder /go/src/github.com/fhmq/hmq/hmq .
EXPOSE 1883