update Dockerfile
This commit is contained in:
parent
9a7a7bb269
commit
88b60ab17a
|
|
@ -2,7 +2,7 @@
|
||||||
# docker build --no-cache -t flowise .
|
# docker build --no-cache -t flowise .
|
||||||
# Run image
|
# Run image
|
||||||
# docker run -d -p 3000:3000 flowise
|
# docker run -d -p 3000:3000 flowise
|
||||||
FROM node:16
|
FROM node:18-alpine
|
||||||
|
|
||||||
WORKDIR /usr/src/packages
|
WORKDIR /usr/src/packages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -24,9 +24,10 @@ Drag & drop UI to build your customized LLM flow using [LangchainJS](https://git
|
||||||
## 🐳 Docker
|
## 🐳 Docker
|
||||||
|
|
||||||
1. Go to `docker` folder at the root of the project
|
1. Go to `docker` folder at the root of the project
|
||||||
2. `docker-compose up -d`
|
2. Create `.env` file and specify the `PORT` (refer to `.env.example`)
|
||||||
3. Open [http://localhost:3000](http://localhost:3000)
|
3. `docker-compose up -d`
|
||||||
4. You can bring the containers down by `docker-compose stop`
|
4. Open [http://localhost:3000](http://localhost:3000)
|
||||||
|
5. You can bring the containers down by `docker-compose stop`
|
||||||
|
|
||||||
## 👨💻 Developers
|
## 👨💻 Developers
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
PORT=3000
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
FROM node:14.20.0-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
RUN apk add --no-cache git
|
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
|
# You can install a specific version like: flowise@1.0.0
|
||||||
RUN npm install -g flowise
|
RUN npm install -g flowise
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue