Skip to content

Commit 883c954

Browse files
author
Marvin Zhang
committed
feat: update Dockerfile to include 'go mod tidy' before installation
1 parent 44fd080 commit 883c954

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ COPY ./vcs ./vcs/
1616
ENV GO111MODULE on
1717

1818
# Build from the backend directory which contains the main.go
19-
RUN cd backend && go install -v ./...
19+
RUN cd backend && go mod tidy && go install -v ./...
2020

2121
FROM alpine:3.14
2222

0 commit comments

Comments
 (0)