Fix the image
This commit is contained in:
parent
ae3552f865
commit
3182165f9a
@ -5,8 +5,8 @@ COPY go.mod ./
|
||||
COPY go.sum ./
|
||||
RUN go mod download
|
||||
COPY . ./
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /app
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o backend
|
||||
|
||||
FROM scratch
|
||||
COPY --from=0 /app /app
|
||||
COPY --from=0 /app/backend /app
|
||||
CMD ["/app"]
|
||||
|
Loading…
Reference in New Issue
Block a user