Download Dockerfile from sifars/keepme: direct link, hf CLI and curl.
- Browser
- Download file 400 Bytes
-
https://huggingface.co/spaces/sifars/keepme/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sifars/keepme/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sifars/keepme/resolve/main/Dockerfile
400 Bytes
| FROM node:22-alpine AS build | |
| WORKDIR /app | |
| COPY package.json yarn.lock ./ | |
| COPY .yarnrc.yml ./ | |
| RUN corepack enable | |
| RUN yarn install --immutable | |
| COPY . . | |
| RUN chown -R node:node /app | |
| USER node | |
| ENV VITE_API_URL=https://sifars-keepme-backend.hf.space | |
| ENV VITE_WS_URL=wss://sifars-keepme-backend.hf.space | |
| RUN yarn build | |
| EXPOSE 7860 | |
| CMD ["yarn", "preview", "--host", "0.0.0.0", "--port", "7860"] |