Add files to build containers
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
2b22283503
commit
d3b03f3c45
|
@ -1,9 +1,11 @@
|
||||||
FROM node:alpine AS frontend-builder
|
FROM node:alpine AS frontend-builder
|
||||||
|
|
||||||
|
ADD . .
|
||||||
RUN cd frontend && npm install && npm run build
|
RUN cd frontend && npm install && npm run build
|
||||||
|
|
||||||
FROM golang:alpine AS builder
|
FROM golang:alpine AS builder
|
||||||
|
|
||||||
|
ADD . .
|
||||||
COPY --from=frontend-builder frontend/dist frontend/dist
|
COPY --from=frontend-builder frontend/dist frontend/dist
|
||||||
|
|
||||||
RUN go build -o minify
|
RUN go build -o minify
|
||||||
|
|
Loading…
Reference in New Issue