Change path to exist outside gopath
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Tyler 2022-04-27 20:52:28 -04:00
parent d3b03f3c45
commit 42bd753900

View File

@ -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