Skip to content

Commit

Permalink
修改 site.js 打包逻辑
Browse files Browse the repository at this point in the history
  • Loading branch information
zlzforever committed Jul 26, 2024
1 parent 954c818 commit d5fbf48
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ WORKDIR /app
COPY src/SecurityTokenService .
RUN dotnet publish SecurityTokenService.csproj -c Release -o out
RUN rm -rf /app/out/wwwroot/css/site.css
RUN rm -rf /app/out/wwwroot/js/site.js
RUN mv /app/out/wwwroot/js/site.min.js /app/out/wwwroot/js/site.js
RUN rm -rf /app/out/sts.json
RUN rm -rf /app/out/runtimes/linux-arm64
RUN rm -rf /app/out/runtimes/osx-x64
Expand Down
2 changes: 1 addition & 1 deletion src/SecurityTokenService/wwwroot/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,6 @@ <h1 class="row page-header">

<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="lib/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="js/site.min.js"></script>
<script src="js/site.js"></script>
</body>
</html>

0 comments on commit d5fbf48

Please sign in to comment.