update Dockerfile with new css bundling

This commit is contained in:
f0x 2021-09-10 22:55:07 +02:00
commit 7e321b53d5

View file

@ -33,10 +33,10 @@ FROM node:16.5.0-alpine3.11 AS web_builder
RUN apk update && apk upgrade --no-cache RUN apk update && apk upgrade --no-cache
COPY web /web COPY web /web
WORKDIR /web/source WORKDIR /web/gotosocial-styling
RUN yarn install RUN yarn install
RUN node build.js RUN BUILD_DIR=../assets node index.js
# STEP THREE: bundle the admin webapp # STEP THREE: bundle the admin webapp
FROM node:16.5.0-alpine3.11 AS admin_builder FROM node:16.5.0-alpine3.11 AS admin_builder