Closed ioppermann closed 2 years ago
Latest commit: |
3dae99a
|
Status: | ✅ Deploy successful! |
Preview URL: | https://7eaa6ab6.restreamer.pages.dev |
Branch Preview URL: | https://dockerfile.restreamer.pages.dev |
Will solve issue #12
With the previous Dockerfile and resulting image, it contains the whole node_modules directory and the development server will be started, even though the production build is the one that should be served if you want to use it independent from the bundle.
Reduce the size of the Docker image by only holding the production build of the UI. The files are served by Caddy server. For bundling, the production build files are still in /ui/build