Adding tidy and download later? Maybe I need to add go.sum to repo?
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 42s
All checks were successful
Deploy application with Docker / build_and_deploy (push) Successful in 42s
This commit is contained in:
parent
6f58b57372
commit
fd3c63c1cb
@ -35,6 +35,9 @@ COPY --from=tailwind-build-stage /app /app
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN go mod tidy
|
||||
RUN go mod download
|
||||
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /entrypoint /app/cmd/web/main.go
|
||||
|
||||
# Deploy.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user