Spaces:
Configuration error
Configuration error
Download Dockerfile from Stevross/langflowise: direct link, hf CLI and curl.
- Browser
- Download file 621 Bytes
-
https://huggingface.co/spaces/Stevross/langflowise/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Stevross/langflowise/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Stevross/langflowise/resolve/main/Dockerfile
621 Bytes
| # Build local monorepo image | |
| # docker build --no-cache -t flowise . | |
| # Run image | |
| # docker run -d -p 3000:3000 flowise | |
| FROM node:18-alpine | |
| WORKDIR /usr/src/packages | |
| # Copy root package.json and lockfile | |
| COPY package.json ./ | |
| COPY yarn.lock ./ | |
| # Copy components package.json | |
| COPY packages/components/package.json ./packages/components/package.json | |
| # Copy ui package.json | |
| COPY packages/ui/package.json ./packages/ui/package.json | |
| # Copy server package.json | |
| COPY packages/server/package.json ./packages/server/package.json | |
| RUN yarn install | |
| # Copy app source | |
| COPY . . | |
| RUN yarn build | |
| EXPOSE 3000 | |
| CMD [ "yarn", "start" ] |