suhaib0edu commited on
Commit
213ada4
·
verified ·
1 Parent(s): 72581d9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -2
Dockerfile CHANGED
@@ -1,7 +1,6 @@
1
  # Use Node.js 20 Alpine as base image
2
  FROM node:20-alpine
3
 
4
- RUN apt update
5
 
6
  # Install PNPM globally, create directories, and install dependencies
7
  RUN npm i -g pnpm && \
@@ -28,6 +27,9 @@ ENV FLOWISE_PATH=$FLOWISE_PATH \
28
  RUN mkdir -p /home/node/app && chmod -R 777 /home/node/app
29
  WORKDIR /home/node/app
30
 
 
 
 
31
  RUN \
32
  # Clone the Flowise repository from GitHub
33
  git clone https://github.com/FlowiseAI/Flowise.git . && \
@@ -38,6 +40,10 @@ RUN \
38
  # Set permissions and create directories
39
  RUN sh -c 'mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH && \
40
  mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH/uploads'
41
-
 
 
 
 
42
  # Set the entry point to run Flowise
43
  CMD pnpm start
 
1
  # Use Node.js 20 Alpine as base image
2
  FROM node:20-alpine
3
 
 
4
 
5
  # Install PNPM globally, create directories, and install dependencies
6
  RUN npm i -g pnpm && \
 
27
  RUN mkdir -p /home/node/app && chmod -R 777 /home/node/app
28
  WORKDIR /home/node/app
29
 
30
+ RUN pwd
31
+ RUN ls -a
32
+
33
  RUN \
34
  # Clone the Flowise repository from GitHub
35
  git clone https://github.com/FlowiseAI/Flowise.git . && \
 
40
  # Set permissions and create directories
41
  RUN sh -c 'mkdir -p $LOG_PATH && chmod -R 777 $LOG_PATH && \
42
  mkdir -p $FLOWISE_PATH/uploads && chmod -R 777 $FLOWISE_PATH/uploads'
43
+
44
+
45
+
46
+ RUN pwd
47
+ RUN ls -a
48
  # Set the entry point to run Flowise
49
  CMD pnpm start