Add Tailwind CSS and plugins to Dockerfile-web-ui-dev

This commit is contained in:
2025-02-01 21:32:56 +07:00
parent 7b02aeb68e
commit 4051c530ea

View File

@@ -42,6 +42,10 @@ COPY src/Managing.WebApp/ /app/
RUN ls -alh RUN ls -alh
RUN ls -alh src/ RUN ls -alh src/
# Build the Vite application # 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 npm run build
RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build RUN node --max-old-space-size=8192 ./node_modules/.bin/vite build