add http-server part 5.3
All checks were successful
ci / build (push) Successful in 1m28s

This commit is contained in:
Christopher Hase 2025-04-09 13:20:25 +02:00
parent 42a551bd74
commit 005b4f088d
2 changed files with 3 additions and 2 deletions

View file

@ -44,5 +44,6 @@ RUN cp dist/*.js dist/iching/
#CMD ["npx", "http-server", ".", "-p", "8080"]
#CMD ["npx", "http-server", "dist", "-p", "8080"]
CMD ["npx", "http-server", "dist/iching", "-p", "8080", "--mime", "application/javascript=js"]
#CMD ["npx", "http-server", "dist/iching", "-p", "8080", "--mime", "application/javascript=js"]
#CMD ["npx", "http-server", "dist/iching", "-p", "8080", "--mime", "application/javascript=js", "-S", "false"]
CMD ["npx", "http-server", "dist", "-p", "8080", "--mime", "application/javascript=js"]

View file

@ -7,6 +7,6 @@
<body>
<h1>Mein Button</h1>
<button id="myButton">Klick mich!</button>
<script src="/iching/event.js"></script>
<script src="./event.js"></script>
</body>
</html>