Skip to content

Commit

Permalink
set gin release mode
Browse files Browse the repository at this point in the history
  • Loading branch information
tetra-fox authored May 17, 2022
1 parent c1210f6 commit 8a08161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM golang:1.18-alpine

ENV GIN_MODE=release

WORKDIR /app

COPY go.mod ./
Expand All @@ -12,4 +14,4 @@ RUN go build -o /container-status

EXPOSE 80

CMD [ "/container-status" ]
CMD [ "/container-status" ]

0 comments on commit 8a08161

Please sign in to comment.