Change path to exist outside gopath
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
d3b03f3c45
commit
42bd753900
|
@ -1,14 +1,14 @@
|
|||
FROM node:alpine AS frontend-builder
|
||||
FROM node:lts-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
|
||||
ADD . /app
|
||||
COPY --from=frontend-builder frontend/dist /app/frontend/dist
|
||||
|
||||
RUN go build -o minify
|
||||
RUN cd /app && go build -o minify
|
||||
|
||||
FROM alpine
|
||||
|
||||
|
|
Loading…
Reference in New Issue