Skip to content

Commit

Permalink
sonarcloud recommendation
Browse files Browse the repository at this point in the history
  • Loading branch information
briskt committed Aug 28, 2024
1 parent fb30e47 commit c799cb8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ RUN curl -o- -L https://slss.io/install | VERSION=3.7.5 bash && \

WORKDIR /src

RUN curl -sSfL https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | sh -s -- -b $(go env GOPATH)/bin
RUN curl -sSfL --proto "=https" https://raw.githubusercontent.com/cosmtrek/air/master/install.sh | \
sh -s -- -b $(go env GOPATH)/bin

COPY ./ .
RUN go get ./...

EXPOSE 8080

CMD ["air"]
CMD ["air"]

0 comments on commit c799cb8

Please sign in to comment.