mirror of
https://github.com/SunRed/haste-server.git
synced 2025-09-06 05:20:14 +02:00
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
This commit is contained in:
parent
062bdb3dec
commit
3606db4d90
5 changed files with 479 additions and 72 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
|||
node_modules
|
||||
.vscode
|
||||
.idea
|
||||
data
|
||||
data-test
|
||||
|
||||
|
@ -8,5 +9,5 @@ data-test
|
|||
*.DS_Store
|
||||
|
||||
npm-debug.log
|
||||
static/*.min.js
|
||||
static/application.min.js
|
||||
config.js
|
Loading…
Add table
Add a link
Reference in a new issue