Spaces:
Build error
Build error
limcheekin
commited on
Commit
β’
7d5cd10
1
Parent(s):
b0066c9
feat: cleanup docker file and updated readme
Browse files- Dockerfile +0 -9
- README.md +3 -2
Dockerfile
CHANGED
@@ -49,15 +49,6 @@ COPY entrypoint.sh.template entrypoint.sh
|
|
49 |
RUN mkdir /app
|
50 |
RUN chown -R 1000:1000 /app
|
51 |
|
52 |
-
#RUN useradd -m -u 1000 user
|
53 |
-
|
54 |
-
# Switch to the "user" user
|
55 |
-
#USER user
|
56 |
-
|
57 |
-
#ENV HOME=/home/user \
|
58 |
-
# PATH=/home/user/.local/bin:$PATH
|
59 |
-
|
60 |
-
#RUN npm config set prefix /home/user/.local
|
61 |
RUN npm install -g pm2
|
62 |
|
63 |
COPY --from=chatui-builder --chown=1000 /app/chat-ui/node_modules /app/node_modules
|
|
|
49 |
RUN mkdir /app
|
50 |
RUN chown -R 1000:1000 /app
|
51 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
52 |
RUN npm install -g pm2
|
53 |
|
54 |
COPY --from=chatui-builder --chown=1000 /app/chat-ui/node_modules /app/node_modules
|
README.md
CHANGED
@@ -1,10 +1,11 @@
|
|
1 |
---
|
2 |
-
title: Chat
|
3 |
emoji: π
|
4 |
colorFrom: pink
|
5 |
colorTo: yellow
|
6 |
sdk: docker
|
7 |
-
pinned:
|
|
|
8 |
license: mit
|
9 |
---
|
10 |
|
|
|
1 |
---
|
2 |
+
title: Chat UI
|
3 |
emoji: π
|
4 |
colorFrom: pink
|
5 |
colorTo: yellow
|
6 |
sdk: docker
|
7 |
+
pinned: true
|
8 |
+
app_port: 3000
|
9 |
license: mit
|
10 |
---
|
11 |
|