Skip to content

Commit

Permalink
Build tailwind during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
niklasstich committed Nov 28, 2023
1 parent fca2c8c commit 434814e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
.gitignore
LearningOutcomesGenerator/bin/
LearningOutcomesGenerator/obj/
LearningOutcomesGenerator/node_modules/
LearningOutcomesGenerator/node_modules/
LearningOutcomesGenerator/wwwroot/css/output.css
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ COPY . .

WORKDIR "/app/LearningOutcomesGenerator"
RUN npm install
RUN npm run tailwind-build
RUN dotnet publish "LearningOutcomesGenerator.csproj" -c Release -o /app/publish


Expand Down

0 comments on commit 434814e

Please sign in to comment.