camparchimedes commited on
Commit
c2a5d6b
verified
1 Parent(s): a15a629

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -8,7 +8,8 @@ ENV HOME=/home/user \
8
  WORKDIR /home/user/app
9
  # --cp w/ explicit user permissions 鉁嶐煆金煄渽馃馃徏
10
  COPY --chown=user:user requirements.txt .
11
- RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
12
  COPY --chown=user:user . .
13
  ENV CHAINLIT_HOME=/home/user/.chainlit \
14
  XDG_CACHE_HOME=/home/user/.cache
@@ -16,7 +17,7 @@ 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 --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.
 
8
  WORKDIR /home/user/app
9
  # --cp w/ explicit user permissions 鉁嶐煆金煄渽馃馃徏
10
  COPY --chown=user:user requirements.txt .
11
+ RUN pip install --no-cache-dir -r requirements.txt
12
+ # --upgrade
13
  COPY --chown=user:user . .
14
  ENV CHAINLIT_HOME=/home/user/.chainlit \
15
  XDG_CACHE_HOME=/home/user/.cache
 
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.