Yaya86 commited on
Commit
6ee2439
·
verified ·
1 Parent(s): 8f7ac6c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -3
Dockerfile CHANGED
@@ -1,9 +1,19 @@
1
  FROM ubuntu:latest
2
 
3
- RUN npm install -g flowise
4
-
5
  RUN useradd -m -u 1000 appuser
6
 
7
- CMD npx flowise start
 
 
 
 
 
 
 
 
 
 
 
 
8
 
9
  EXPOSE 3000
 
1
  FROM ubuntu:latest
2
 
 
 
3
  RUN useradd -m -u 1000 appuser
4
 
5
+ USER appuser
6
+
7
+ #RUN apt-get install -y git-core curl build-essential openssl libssl-dev \
8
+ # && git clone https://github.com/nodejs/node.git \
9
+ # && cd node \
10
+ # && ./configure \
11
+ # && make \
12
+ # && sudo make install
13
+
14
+
15
+ CMD ["npm install -g flowise","npx flowise start"]
16
+
17
+ #CMD npx flowise start
18
 
19
  EXPOSE 3000