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

This commit is contained in:
Christopher Hase 2025-04-08 11:15:53 +02:00
parent 0fab8886bb
commit 285bd28139
2 changed files with 3 additions and 1 deletions

View file

@ -43,4 +43,5 @@ RUN cp dist/*.js dist/iching/
# 5. Run app
#CMD ["npx", "http-server", ".", "-p", "8080"]
CMD ["npx", "http-server", "dist", "-p", "8080"]
#CMD ["npx", "http-server", "dist", "-p", "8080"]
CMD ["npx", "http-server", "dist", "-p", "8080", "--mime", "application/javascript=js"]

1
mime.types Normal file
View file

@ -0,0 +1 @@
application/javascript js