This commit is contained in:
parent
2b22283503
commit
d3b03f3c45
@ -1,9 +1,11 @@
|
||||
FROM node:alpine AS frontend-builder
|
||||
|
||||
ADD . .
|
||||
RUN cd frontend && npm install && npm run build
|
||||
|
||||
FROM golang:alpine AS builder
|
||||
|
||||
ADD . .
|
||||
COPY --from=frontend-builder frontend/dist frontend/dist
|
||||
|
||||
RUN go build -o minify
|
||||
|
Loading…
Reference in New Issue
Block a user