We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c5a195 commit a014d65Copy full SHA for a014d65
1 file changed
Dockerfile
@@ -28,11 +28,14 @@ COPY TechStacks.ServiceModel ./TechStacks.ServiceModel
28
29
# Build Tailwind CSS for .NET project
30
WORKDIR /src/TechStacks
31
-RUN npm install
+
32
+# Download tailwindcss binary directly (avoiding sudo requirement in postinstall.js)
33
+RUN curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/latest/download/tailwindcss-linux-x64 \
34
+ && chmod +x tailwindcss-linux-x64 \
35
+ && mv tailwindcss-linux-x64 /usr/local/bin/tailwindcss
36
RUN npm run ui:build
37
38
# Build Next.js app
-
39
WORKDIR /src/TechStacks.Client
40
COPY TechStacks.Client/package*.json ./
41
RUN npm ci
0 commit comments