This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user