mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
remove devdeps from prod builds
This commit is contained in:
parent
cbd393d56b
commit
c1321f5b14
2 changed files with 6 additions and 2 deletions
|
@ -22,10 +22,10 @@ Build the version you prefer:
|
|||
docker build --tag <YOUR_USERNAME>/etherpad .
|
||||
|
||||
# builds latest stable version
|
||||
docker build --build-arg ETHERPAD_VERSION=master --tag <YOUR_USERNAME>/etherpad .
|
||||
docker build --build-arg ETHERPAD_VERSION=master --build-arg NODE_ENV=production --tag <YOUR_USERNAME>/etherpad .
|
||||
|
||||
# builds a specific version
|
||||
docker build --build-arg ETHERPAD_VERSION=1.7.5 --tag <YOUR_USERNAME>/etherpad .
|
||||
docker build --build-arg ETHERPAD_VERSION=1.7.5 --build-arg NODE_ENV=production --tag <YOUR_USERNAME>/etherpad .
|
||||
|
||||
# builds a specific git hash
|
||||
docker build --build-arg ETHERPAD_VERSION=4c45ac3cb1ae --tag <YOUR_USERNAME>/etherpad .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue