camparchimedes commited on
Commit
ed13cd1
·
verified ·
1 Parent(s): 5514e7a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -13,12 +13,14 @@ RUN pip install --no-cache-dir -r requirements.txt
13
  COPY --chown=user:user . .
14
  ENV CHAINLIT_HOME=/home/user/.chainlit \
15
  XDG_CACHE_HOME=/home/user/.cache
 
16
  RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
17
  #CMD rm -f /home/user/.local/lib/python3.10/site-packages/chainlit/config.py && \
18
  #chainlit run app.py -h 0.0.0.0 -p 7860
19
  #CMD chainlit init
20
  # --initializes a Chainlit project by creating a configuration file located at
21
- CMD chainlit run --host 0.0.0.0 --port 7860 app.py
 
22
 
23
  # -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.
24
  # -h, --headless: Prevents the app from opening in the browser.
 
13
  COPY --chown=user:user . .
14
  ENV CHAINLIT_HOME=/home/user/.chainlit \
15
  XDG_CACHE_HOME=/home/user/.cache
16
+ #ENV CHAINLIT_AUTH_SECRET=your_secret_value
17
  RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
18
  #CMD rm -f /home/user/.local/lib/python3.10/site-packages/chainlit/config.py && \
19
  #chainlit run app.py -h 0.0.0.0 -p 7860
20
  #CMD chainlit init
21
  # --initializes a Chainlit project by creating a configuration file located at
22
+ CMD chainlit run --host 0.0.0.0 --port 8000 app.py
23
+ # 7860
24
 
25
  # -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.
26
  # -h, --headless: Prevents the app from opening in the browser.