optimize dockerfile
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
version: "3"
|
||||
|
||||
x-common-volumes: &common-volumes
|
||||
- ./config.toml:/MoneyPrinterTurbo/config.toml
|
||||
- ./storage:/MoneyPrinterTurbo/storage
|
||||
- ./:/MoneyPrinterTurbo
|
||||
|
||||
services:
|
||||
webui:
|
||||
@@ -12,7 +11,7 @@ services:
|
||||
container_name: "webui"
|
||||
ports:
|
||||
- "8501:8501"
|
||||
command: ["streamlit", "run", "./webui/Main.py","--browser.serverAddress=0.0.0.0","--server.enableCORS=True","--browser.gatherUsageStats=False"]
|
||||
command: [ "streamlit", "run", "./webui/Main.py","--browser.serverAddress=127.0.0.1","--server.enableCORS=True","--browser.gatherUsageStats=False" ]
|
||||
volumes: *common-volumes
|
||||
restart: always
|
||||
api:
|
||||
|
||||
Reference in New Issue
Block a user