It is image build based on the project from
https://github.com/LogiComposer/Flowise
It is flowise with subfolder aichatbot
localhost:3000/aichatbot
So nginx proxy pass can be created
location /aichatbot/ {
proxy_pass http://localhost:3000/aichatbot/;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
sub_filter_once off;
}
But i modify Dockefile
# Use elestio/flowiseai as the base image
FROM elestio/flowiseai:latest
# Install pnpm globally
RUN npm install -g pnpm@9 \
&& npm cache clean --force \
&& rm -rf /tmp/*
# Set environment variables for Puppeteer (if not already set in the base image)
ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
# Increase Node.js memory limit
ENV NODE_OPTIONS=--max-old-space-size=8192
# Set the working directory
WORKDIR /usr/src
# Copy application source code to the container
COPY . .
# Install dependencies with pnpm
RUN pnpm install --frozen-lockfile
# Build the application
RUN pnpm build \
&& rm -rf /tmp/*
# Expose port 3000
EXPOSE 3000
# Start the application
# If the base image already has a correct ENTRYPOINT, you don't need this CMD
# CMD ["pnpm", "start"]
# Instead, just let the base image handle the start
Content type
Image
Digest
sha256:3ffe42fb0…
Size
1.2 GB
Last updated
about 2 years ago
docker pull lukaszwysocki/flowise_proxy_pass