Download Dockerfile from zhzabcd/mc: direct link, hf CLI and curl.
- Browser
- Download file 207 Bytes
-
https://huggingface.co/spaces/zhzabcd/mc/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/zhzabcd/mc/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/zhzabcd/mc/resolve/main/Dockerfile
207 Bytes
| FROM node:14-alpine | |
| # Without git installing the npm packages fails | |
| RUN apk add git | |
| RUN mkdir /app | |
| WORKDIR /app | |
| COPY . /app | |
| RUN npm install | |
| RUN npm run build | |
| ENTRYPOINT ["npm", "run", "prod-start"] | |