mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-20 17:54:30 +08:00
fix cannot build docker image
This commit is contained in:
@@ -7,6 +7,7 @@ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -a -v -i -trimpath -o lab lab
|
|||||||
|
|
||||||
# Build frontend files
|
# Build frontend files
|
||||||
FROM node:12.19.0-alpine3.12 AS fe-builder
|
FROM node:12.19.0-alpine3.12 AS fe-builder
|
||||||
|
RUN apk add git
|
||||||
WORKDIR /go/src/github.com/mayswind/lab
|
WORKDIR /go/src/github.com/mayswind/lab
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN npm install && npm run build
|
RUN npm install && npm run build
|
||||||
|
|||||||
Reference in New Issue
Block a user