update Dockerfile

This commit is contained in:
Henry
2023-04-10 22:54:42 +01:00
parent 9a7a7bb269
commit 88b60ab17a
4 changed files with 8 additions and 5 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
# docker build --no-cache -t flowise .
# Run image
# docker run -d -p 3000:3000 flowise
FROM node:16
FROM node:18-alpine
WORKDIR /usr/src/packages
+4 -3
View File
@@ -24,9 +24,10 @@ Drag & drop UI to build your customized LLM flow using [LangchainJS](https://git
## 🐳 Docker
1. Go to `docker` folder at the root of the project
2. `docker-compose up -d`
3. Open [http://localhost:3000](http://localhost:3000)
4. You can bring the containers down by `docker-compose stop`
2. Create `.env` file and specify the `PORT` (refer to `.env.example`)
3. `docker-compose up -d`
4. Open [http://localhost:3000](http://localhost:3000)
5. You can bring the containers down by `docker-compose stop`
## 👨‍💻 Developers
+1
View File
@@ -0,0 +1 @@
PORT=3000
+2 -1
View File
@@ -1,8 +1,9 @@
FROM node:14.20.0-alpine
FROM node:18-alpine
USER root
RUN apk add --no-cache git
RUN apk add --no-cache python3 py3-pip
# You can install a specific version like: flowise@1.0.0
RUN npm install -g flowise