mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-12-08 09:16:35 +00:00
refactor: do not install delve on every rebuild
This commit is contained in:
@@ -7,13 +7,14 @@ COPY go.sum ./
|
||||
|
||||
RUN go mod download
|
||||
|
||||
RUN go install github.com/air-verse/air@v1.61.7
|
||||
RUN go install github.com/go-delve/delve/cmd/dlv@latest
|
||||
|
||||
COPY ./cmd ./cmd
|
||||
COPY ./internal ./internal
|
||||
COPY ./main.go ./
|
||||
COPY ./air.toml ./
|
||||
|
||||
RUN go install github.com/air-verse/air@v1.61.7
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
ENTRYPOINT ["air", "-c", "air.toml"]
|
||||
Reference in New Issue
Block a user