From b343880bf6d3db0e8d54e93012119b9a38da82ee Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sat, 1 Feb 2025 21:44:03 +0700 Subject: [PATCH] Update Dockerfile-web-ui-dev to include Tailwind CSS and plugins --- src/Managing.WebApp/Dockerfile-web-ui-dev | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index 9673c83..cecd2a5 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -33,7 +33,10 @@ RUN npm install -g yarn --force RUN yarn -v #RUN npm i --max-old-space-size=12000 --loglevel=verbose -RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines +# RUN yarn add eslint-plugin-jsdoc@37.9.7 --dev --ignore-engines + +# Explicitly install Tailwind CSS and plugins if needed +RUN yarn add -D tailwindcss postcss autoprefixer @tailwindcss/typography RUN yarn install --verbose # Copy the application code @@ -42,8 +45,6 @@ RUN ls -alh RUN ls -alh src/ # Build the Vite application -# Explicitly install Tailwind CSS and plugins if needed -RUN yarn add -D tailwindcss postcss autoprefixer @tailwindcss/typography #RUN npm run build RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build