added webserver to docker build

This commit is contained in:
Nicolai Ort 2023-03-29 20:32:49 +02:00
parent 02b31f277f
commit f78365f062
Signed by: niggl
GPG Key ID: 13AFA55AF62F269F
1 changed files with 4 additions and 1 deletions

View File

@ -7,4 +7,7 @@ RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8
RUN mkdir /pnpm && pnpm config set store-dir /pnpm && pnpm i
COPY . .
RUN pnpm build
RUN pnpm build
FROM registry.odit.services/library/nginx-brotli:3.15 as final
COPY --from=build /app/dist /usr/share/nginx/html