Update Dockerfile-web-ui-dev to include Tailwind CSS and plugins
This commit is contained in:
@@ -33,7 +33,10 @@ RUN npm install -g yarn --force
|
|||||||
RUN yarn -v
|
RUN yarn -v
|
||||||
|
|
||||||
#RUN npm i --max-old-space-size=12000 --loglevel=verbose
|
#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
|
RUN yarn install --verbose
|
||||||
|
|
||||||
# Copy the application code
|
# Copy the application code
|
||||||
@@ -42,8 +45,6 @@ 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
|
||||||
|
|||||||
Reference in New Issue
Block a user