hellopiyush0003 commited on
Commit
d0de20b
·
verified ·
1 Parent(s): 97e1daa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -1
Dockerfile CHANGED
@@ -1,7 +1,6 @@
1
  # Stage 1: Build stage
2
  FROM node:20-alpine AS build
3
 
4
- USER root
5
 
6
  # Skip downloading Chrome for Puppeteer (saves build time)
7
  ENV PUPPETEER_SKIP_DOWNLOAD=true
@@ -22,4 +21,8 @@ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
22
  COPY --from=build /usr/local/lib/node_modules /usr/local/lib/node_modules
23
  COPY --from=build /usr/local/bin /usr/local/bin
24
 
 
 
 
 
25
  ENTRYPOINT ["flowise", "start"]
 
1
  # Stage 1: Build stage
2
  FROM node:20-alpine AS build
3
 
 
4
 
5
  # Skip downloading Chrome for Puppeteer (saves build time)
6
  ENV PUPPETEER_SKIP_DOWNLOAD=true
 
21
  COPY --from=build /usr/local/lib/node_modules /usr/local/lib/node_modules
22
  COPY --from=build /usr/local/bin /usr/local/bin
23
 
24
+ # Set Write access
25
+ RUN chmod -R 777 /usr/local/lib
26
+
27
+
28
  ENTRYPOINT ["flowise", "start"]