update frontend output

This commit is contained in:
Hayden 2022-10-25 09:17:31 -08:00
parent d151d42081
commit 4aee60c242
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ WORKDIR /go/src/app
COPY ./backend .
RUN go get -d -v ./...
RUN rm -rf ./app/api/public
COPY --from=frontend-builder /app/.output/public ./app/api/public
COPY --from=frontend-builder /app/.output/public ./app/api/static/public
RUN CGO_ENABLED=1 GOOS=linux go build \
-ldflags "-s -w -X main.commit=$COMMIT -X main.buildTime=$BUILD_TIME -X main.version=$VERSION" \
-o /go/bin/api \