Spaces:
Configuration error
Configuration error
Download Dockerfile from augmentoria/search-engine: direct link, hf CLI and curl.
- Browser
- Download file 714 Bytes
-
https://huggingface.co/spaces/augmentoria/search-engine/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/augmentoria/search-engine/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/augmentoria/search-engine/resolve/main/Dockerfile
714 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 3000 | |
| CMD [ "yarn", "start", "--port", "3000", "--allow-websocket-origin"] | |