using vite

This commit is contained in:
Jeroen De Meerleer 2022-05-02 13:35:37 +02:00
parent 0a0574b2e4
commit f81c55536b
Signed by: JeroenED
GPG Key ID: 28CCCB8F62BFADD6

View File

@ -12,7 +12,7 @@ FROM node:16 as nodebuilder
COPY --from=phpbuilder /tmp/buildir/webcron /tmp/buildir/webcron COPY --from=phpbuilder /tmp/buildir/webcron /tmp/buildir/webcron
WORKDIR /tmp/buildir/webcron WORKDIR /tmp/buildir/webcron
RUN npm install RUN npm install
RUN npx encore prod RUN npm run build
RUN rm -rf node_modules RUN rm -rf node_modules
FROM php:8.1-apache FROM php:8.1-apache