Update Dockerfile
Browse files- Dockerfile +11 -1
Dockerfile
CHANGED
@@ -15,5 +15,15 @@ ENV CHAINLIT_HOME=/home/user/.chainlit \
|
|
15 |
RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
|
16 |
#CMD rm -f /home/user/.local/lib/python3.10/site-packages/chainlit/config.py && \
|
17 |
#chainlit run app.py -h 0.0.0.0 -p 7860
|
|
|
|
|
|
|
18 |
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
|
16 |
#CMD rm -f /home/user/.local/lib/python3.10/site-packages/chainlit/config.py && \
|
17 |
#chainlit run app.py -h 0.0.0.0 -p 7860
|
18 |
+
#CMD chainlit init
|
19 |
+
#--initializes a Chainlit project by creating a configuration file located at
|
20 |
+
CMD chainlit run --host 0.0.0.0 --debug --port 7860 app.py
|
21 |
|
22 |
+
# -w, --watch: Reload the app when the module changes. When this option is specified, the file watcher will be started and any changes to files will cause the server to reload the app, allowing faster iterations.
|
23 |
+
# -h, --headless: Prevents the app from opening in the browser.
|
24 |
+
# -d, --debug: Sets the log level to debug. Default log level is error.
|
25 |
+
# -c, --ci: Runs in CI mode.
|
26 |
+
# --no-cache: Disables third parties cache, such as langchain.
|
27 |
+
# --host: Specifies a different host to run the server on.
|
28 |
+
# --port: Specifies a different port to run the server on.
|
29 |
+
# --root-path: Specifies a subpath to run the server on.
|