laopo001 commited on
Commit
5563b70
·
verified ·
1 Parent(s): 15213d7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -7
Dockerfile CHANGED
@@ -1,10 +1,7 @@
1
  FROM ubuntu:22.04
2
 
3
- RUN useradd -m -u 1000 user
4
- USER user
5
- ENV PATH="/home/user/.local/bin:$PATH"
6
-
7
- WORKDIR /app
8
 
9
  # Install curl and other dependencies
10
  RUN apt-get install -y curl
@@ -19,8 +16,8 @@ RUN apt-get install -y python3 python3-pip
19
  # With pip.
20
  RUN pip install uv
21
 
22
- RUN npm i -g @dadigua/hyper-chat@latest
23
 
24
  ENV NODE_ENV=production
25
 
26
- CMD ["npx", "hyper-chat", "--appDataDir=/data/HyperChat"]
 
1
  FROM ubuntu:22.04
2
 
3
+ # Update package lists
4
+ RUN apt-get update
 
 
 
5
 
6
  # Install curl and other dependencies
7
  RUN apt-get install -y curl
 
16
  # With pip.
17
  RUN pip install uv
18
 
19
+ RUN npm i -g @dadigua/hyper-chat
20
 
21
  ENV NODE_ENV=production
22
 
23
+ CMD ["npx", "hyper-chat", "--appDataDir=/data"]