Compare commits
No commits in common. "2630a0c9ef6f2795b5ff9db3eb0c1f6ac9e81285" and "4d23f8acead594927059e719d0c2003da65d0d93" have entirely different histories.
2630a0c9ef
...
4d23f8acea
1 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ ADD backend .
|
||||||
RUN make migrate
|
RUN make migrate
|
||||||
|
|
||||||
# RUN go build -o server
|
# RUN go build -o server
|
||||||
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o ./server ./main.go
|
RUN CGO_ENABLED=1 GOOS=linux go build -a -installsuffix cgo -o ./server ./cmd/
|
||||||
|
|
||||||
# Strip the binary for a smaller image
|
# Strip the binary for a smaller image
|
||||||
RUN strip ./server
|
RUN strip ./server
|
||||||
|
|
Loading…
Reference in a new issue