Artin2009 commited on
Commit
a651f3e
1 Parent(s): 12c2c07

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -5
Dockerfile CHANGED
@@ -14,11 +14,14 @@ RUN apt-get update && \
14
 
15
  WORKDIR /app
16
  COPY --link ./ /app
17
- RUN npm i
18
- RUN chown 1000 $HOME/app
 
19
  USER 1000
20
- COPY --chown=user . $HOME/app
21
- COPY ./requirements.txt ~/app/requirements.txt
 
22
  RUN pip install -r requirements.txt
23
- COPY . .
 
24
  CMD ["chainlit", "run", "chain_app.py", "--port", "7860" ,"-h"]
 
14
 
15
  WORKDIR /app
16
  COPY --link ./ /app
17
+ RUN npm i
18
+
19
+ RUN chown 1000 /app
20
  USER 1000
21
+
22
+ # COPY --chown=user . $HOME/app
23
+ # COPY ./requirements.txt ~/app/requirements.txt
24
  RUN pip install -r requirements.txt
25
+
26
+ # COPY . .
27
  CMD ["chainlit", "run", "chain_app.py", "--port", "7860" ,"-h"]