Spaces:
Paused
Paused
Download backend.dockerfile from 0Scottzilla0/perplexican: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/0Scottzilla0/perplexican/resolve/main/backend.dockerfile
- Command line
-
hf download hf://spaces/0Scottzilla0/perplexican/backend.dockerfile
-
curl -L -o backend.dockerfile https://huggingface.co/spaces/0Scottzilla0/perplexican/resolve/main/backend.dockerfile
388 Bytes
| FROM node:18-slim | |
| WORKDIR /home/perplexica | |
| COPY src /home/perplexica/src | |
| COPY tsconfig.json /home/perplexica/ | |
| COPY drizzle.config.ts /home/perplexica/ | |
| COPY package.json /home/perplexica/ | |
| COPY yarn.lock /home/perplexica/ | |
| RUN mkdir /home/perplexica/data | |
| RUN mkdir /home/perplexica/uploads | |
| RUN yarn install --frozen-lockfile --network-timeout 600000 | |
| RUN yarn build | |
| CMD ["yarn", "start"] |