Skip to content

Commit 4f3ac1d

Browse files
committed
Fix dockerfile
1 parent 53f3a21 commit 4f3ac1d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Dockerfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,12 @@ RUN npm run build
66

77
FROM golang:1.20-alpine AS build_go
88
WORKDIR /go/src/github.com/RoboCup-SSL/ssl-vision-client
9-
COPY . .
10-
COPY --from=build_node /tmp/ssl-vision-client/frontend/dist dist
9+
COPY cmd cmd
10+
COPY pkg pkg
11+
COPY frontend/embed.go frontend/embed.go
12+
COPY go.mod .
13+
COPY go.sum .
14+
COPY --from=build_node /tmp/ssl-vision-client/frontend/dist frontend/dist
1115
RUN go install -v ./cmd/ssl-vision-client
1216

1317
# Start fresh from a smaller image

0 commit comments

Comments
 (0)