We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8971b33 commit cda2d95Copy full SHA for cda2d95
docs/recipes/build/docker-image.md
@@ -122,8 +122,11 @@ COPY package.json package-lock.json ./
122
RUN npm install
123
COPY src/Shared src/Shared
124
COPY src/Client src/Client
125
-RUN dotnet fable src/Client --run npx vite build
126
-
+# tailwind.config.js needs to be in the dir where the
+# vite build command is run from otherwise styles will
127
+# be missing from the bundle
128
+COPY src/Client/tailwind.config.js .
129
+RUN dotnet fable src/Client --run npx vite build src/Client
130
131
FROM mcr.microsoft.com/dotnet/aspnet:8.0-alpine
132
COPY --from=server-build /workspace/deploy /app
0 commit comments