mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 11:01:18 +03:00
fix docker running locally
This commit is contained in:
@@ -3,6 +3,7 @@
|
|||||||
# Run image
|
# Run image
|
||||||
# docker run -d -p 3000:3000 flowise
|
# docker run -d -p 3000:3000 flowise
|
||||||
FROM node:18-alpine
|
FROM node:18-alpine
|
||||||
|
RUN apk add --update libc6-compat
|
||||||
|
|
||||||
WORKDIR /usr/src/packages
|
WORKDIR /usr/src/packages
|
||||||
|
|
||||||
|
|||||||
@@ -23,12 +23,29 @@ Drag & drop UI to build your customized LLM flow using [LangchainJS](https://git
|
|||||||
|
|
||||||
## 🐳 Docker
|
## 🐳 Docker
|
||||||
|
|
||||||
|
### Docker Compose
|
||||||
|
|
||||||
1. Go to `docker` folder at the root of the project
|
1. Go to `docker` folder at the root of the project
|
||||||
2. Create `.env` file and specify the `PORT` (refer to `.env.example`)
|
2. Create `.env` file and specify the `PORT` (refer to `.env.example`)
|
||||||
3. `docker-compose up -d`
|
3. `docker-compose up -d`
|
||||||
4. Open [http://localhost:3000](http://localhost:3000)
|
4. Open [http://localhost:3000](http://localhost:3000)
|
||||||
5. You can bring the containers down by `docker-compose stop`
|
5. You can bring the containers down by `docker-compose stop`
|
||||||
|
|
||||||
|
### Docker Image
|
||||||
|
|
||||||
|
1. Build the image locally:
|
||||||
|
```bash
|
||||||
|
docker build --no-cache -t flowise .
|
||||||
|
```
|
||||||
|
2. Run image:
|
||||||
|
```bash
|
||||||
|
docker run -d --name flowise -p 3000:3000 flowise
|
||||||
|
```
|
||||||
|
3. Stop image:
|
||||||
|
```bash
|
||||||
|
docker stop flowise
|
||||||
|
```
|
||||||
|
|
||||||
## 👨💻 Developers
|
## 👨💻 Developers
|
||||||
|
|
||||||
Flowise has 3 different modules in a single mono repository.
|
Flowise has 3 different modules in a single mono repository.
|
||||||
|
|||||||
Reference in New Issue
Block a user