Download Dockerfile from rohan13/flowise: direct link, hf CLI and curl.
- Browser
- Download file 669 Bytes
-
https://huggingface.co/spaces/rohan13/flowise/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/rohan13/flowise/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/rohan13/flowise/resolve/main/Dockerfile
669 Bytes
| # Build local monorepo image | |
| # docker build --no-cache -t flowise . | |
| # Run image | |
| # docker run -d -p 3000:3000 flowise | |
| FROM node:18-alpine | |
| RUN apk add --update libc6-compat python3 make g++ | |
| WORKDIR /usr/src/packages | |
| # Copy root package.json and lockfile | |
| COPY package.json yarn.loc[k] ./ | |
| # 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 7860 | |
| CMD [ "yarn", "start" ] | |