camparchimedes commited on
Commit
248b487
ยท
verified ยท
1 Parent(s): bb74292

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -13,7 +13,8 @@ COPY --chown=user:user . .
13
  ENV CHAINLIT_HOME=/home/user/.chainlit \
14
  XDG_CACHE_HOME=/home/user/.cache
15
  RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
16
- # --using shell to delete outdated config.py
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", "run", "app.py", "--port", "7860"] # Usage: chainlit run [OPTIONS] TARGET
 
 
13
  ENV CHAINLIT_HOME=/home/user/.chainlit \
14
  XDG_CACHE_HOME=/home/user/.cache
15
  RUN mkdir -p $CHAINLIT_HOME $XDG_CACHE_HOME
16
+ # --remove outdated config.py, shell
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", "run", "app.py", "--port", "7860"]
20
+ CMD chainlit run app.py --port 7860