bagasbgs2516 commited on
Commit
6593b79
·
verified ·
1 Parent(s): 59d03ae

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +21 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:18-alpine
2
+
3
+ USER root
4
+
5
+ RUN apk add --no-cache git
6
+ RUN apk add --no-cache python3 py3-pip make g++
7
+ # needed for pdfjs-dist
8
+ RUN apk add --no-cache build-base cairo-dev pango-dev
9
+
10
+ # Install Chromium
11
+ RUN apk add --no-cache chromium
12
+
13
+ ENV PUPPETEER_SKIP_DOWNLOAD=true
14
+ ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
15
+
16
+ # You can install a specific version like: flowise@1.0.0
17
+ RUN npm install -g flowise
18
+
19
+ WORKDIR /data
20
+
21
+ CMD "flowise"