diff --git a/Dockerfile b/Dockerfile index c0d3c67..f247d87 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/mime.types b/mime.types new file mode 100644 index 0000000..10b42fc --- /dev/null +++ b/mime.types @@ -0,0 +1 @@ +application/javascript js \ No newline at end of file