From 31c79e5dfb50e287f659cae717f05dd728a361ba Mon Sep 17 00:00:00 2001 From: cryptooda Date: Sun, 2 Feb 2025 19:01:17 +0700 Subject: [PATCH] Update Dockerfile-web-ui-dev to include Tailwind CSS and plugins --- src/Managing.WebApp/Dockerfile | 1 + src/Managing.WebApp/Dockerfile-web-ui-dev | 1 + 2 files changed, 2 insertions(+) diff --git a/src/Managing.WebApp/Dockerfile b/src/Managing.WebApp/Dockerfile index b53470e..1d5a32f 100644 --- a/src/Managing.WebApp/Dockerfile +++ b/src/Managing.WebApp/Dockerfile @@ -19,6 +19,7 @@ COPY /src/Managing.WebApp/package.json ./ # Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts RUN npm install --legacy-peer-deps +RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography # Copy the rest of the app's source code to the container # COPY . . diff --git a/src/Managing.WebApp/Dockerfile-web-ui-dev b/src/Managing.WebApp/Dockerfile-web-ui-dev index b53470e..1d5a32f 100644 --- a/src/Managing.WebApp/Dockerfile-web-ui-dev +++ b/src/Managing.WebApp/Dockerfile-web-ui-dev @@ -19,6 +19,7 @@ COPY /src/Managing.WebApp/package.json ./ # Install dependencies with the --legacy-peer-deps flag to bypass peer dependency conflicts RUN npm install --legacy-peer-deps +RUN npm install -g tailwindcss postcss autoprefixer @tailwindcss/typography # Copy the rest of the app's source code to the container # COPY . .