Download Dockerfile from jimlv/ssh: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/jimlv/ssh/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/jimlv/ssh/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/jimlv/ssh/resolve/main/Dockerfile
460 Bytes
| FROM node:20.16-alpine3.20 AS builder_web | |
| WORKDIR /easynode/web | |
| COPY ./web . | |
| COPY yarn.lock . | |
| RUN yarn | |
| RUN yarn build | |
| FROM node:20.16-alpine3.20 AS builder_server | |
| WORKDIR /easynode/server | |
| COPY ./server . | |
| COPY yarn.lock . | |
| COPY --from=builder_web /easynode/web/dist ./app/static | |
| RUN yarn | |
| FROM node:20.16-alpine3.20 | |
| RUN apk add --no-cache iputils | |
| WORKDIR /easynode | |
| COPY --from=builder_server /easynode/server . | |
| ENV HOST=0.0.0.0 | |
| EXPOSE 8082 | |
| CMD ["npm", "start"] | |