1
0
Fork 0
mirror of https://github.com/SunRed/haste-server.git synced 2024-11-01 01:30:21 +01:00
Commit graph

3 commits

Author SHA1 Message Date
3606db4d90
Make Docker image smaller and fix issue with ignore files
* Exclude a bunch of files and directories not needed for Docker image
* Exclude dev dependencies for Docker image build by introducing a production build script
* Using a different alpine base image and multi-stage build reduces the Docker image by roughly 35 MB alone
* Move babel to dev dependencies
* Fix highlight.min.js accidentally being ignored
2021-02-13 10:35:12 +01:00
062bdb3dec
Install all storage client deps by default and move them to optional deps
* Moving the storage dependencies again into package.json but to the optionalDependencies
* Add build script that excludes the optional dependencies for manual installation of these
* Add a comment in Dockerfile on how to use the minimal build script
2021-02-13 07:46:01 +01:00
4e668e0636
Add Docker support and change default listening address
* Add Dockerfile
* Add docker-compose.yml
* Set default host address to null to make expressjs listen on both ipv4 and ipv6
2021-02-12 14:21:36 +01:00