Skip to content

Commit

Permalink
Update Dockerfile to fix go.sum missing
Browse files Browse the repository at this point in the history
  • Loading branch information
qjoly committed Aug 26, 2024
1 parent f41bf7f commit abce777
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM golang:1.23.0-alpine3.19 as builder

Check warning on line 1 in routes/Dockerfile

View workflow job for this annotation

GitHub Actions / Build Docker Image (routes/Dockerfile, routes, latest, routes)

The 'as' keyword should match the case of the 'from' keyword

FromAsCasing: 'as' and 'FROM' keywords' casing do not match More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
WORKDIR /app

COPY go.mod go.sum ./
COPY go.mod ./
RUN go mod download
COPY . .

Expand Down

0 comments on commit abce777

Please sign in to comment.