Spaces:
Sleeping
Sleeping
Download Dockerfile from ibrohm/mtextylelastedweb: direct link, hf CLI and curl.
- Browser
- Download file 320 Bytes
-
https://huggingface.co/spaces/ibrohm/mtextylelastedweb/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ibrohm/mtextylelastedweb/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ibrohm/mtextylelastedweb/resolve/main/Dockerfile
320 Bytes
| FROM node:18-alpine | |
| WORKDIR /app | |
| # Package.json fayllarini nusxalash va kutubxonalarni o'rnatish | |
| COPY package*.json ./ | |
| RUN npm install --production | |
| # Barcha kodni nusxalash | |
| COPY . . | |
| # Hugging Face Spaces standart porti 7860 | |
| ENV PORT=7860 | |
| EXPOSE 7860 | |
| # Serverni ishga tushirish | |
| CMD ["npm", "start"] | |