Download Dockerfile from mikmc5/gemlog: direct link, hf CLI and curl.
- Browser
- Download file 360 Bytes
-
https://huggingface.co/spaces/mikmc5/gemlog/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/mikmc5/gemlog/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/mikmc5/gemlog/resolve/main/Dockerfile
360 Bytes
| FROM node:20-slim | |
| WORKDIR /code | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies (adding dotenv) | |
| RUN npm install express node-fetch cors dotenv | |
| # Bundle app source | |
| COPY . . | |
| # Default environment variables if not provided at runtime | |
| ENV PORT=7860 | |
| ENV NODE_ENV=production | |
| # Start the application | |
| CMD ["node", "server.js"] |