Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
|
|
19 |
USER 1000
|
20 |
-
|
21 |
-
COPY
|
|
|
22 |
RUN pip install -r requirements.txt
|
23 |
-
|
|
|
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"]
|