root: fix dockerfile paths

Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
Jens Langhammer 2021-11-26 14:36:44 +01:00
parent 1e86844823
commit d1e2c018a3

View file

@ -16,7 +16,7 @@ FROM --platform=${BUILDPLATFORM} docker.io/node:16 as website-builder
COPY ./website /work/website/ COPY ./website /work/website/
ENV NODE_ENV=production ENV NODE_ENV=production
RUN cd /static && npm i && npm run build-docs-only RUN cd /work/website && npm i && npm run build-docs-only
# Stage 3: Build webui # Stage 3: Build webui
FROM --platform=${BUILDPLATFORM} docker.io/node:16 as web-builder FROM --platform=${BUILDPLATFORM} docker.io/node:16 as web-builder
@ -25,7 +25,7 @@ COPY ./web /work/web/
COPY ./website /work/website/ COPY ./website /work/website/
ENV NODE_ENV=production ENV NODE_ENV=production
RUN cd /static && npm i && npm run build RUN cd /work/web && npm i && npm run build
# Stage 4: Build go proxy # Stage 4: Build go proxy
FROM docker.io/golang:1.17.3-bullseye AS builder FROM docker.io/golang:1.17.3-bullseye AS builder