Spaces:
Runtime error
Runtime error
Download Dockerfile from Sharathhebbar24/Test_express: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/Sharathhebbar24/Test_express/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Sharathhebbar24/Test_express/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Sharathhebbar24/Test_express/resolve/main/Dockerfile
365 Bytes
| # Fetching the minified node image on apline linux | |
| FROM node:slim | |
| # Declaring env | |
| ENV NODE_ENV development | |
| # Setting up the work directory | |
| WORKDIR /express-docker | |
| # Copying all the files in our project | |
| COPY . . | |
| # Installing dependencies | |
| RUN npm install | |
| # Starting our application | |
| CMD [ "node", "main.js" ] | |
| # Exposing server port | |
| EXPOSE 5000 |