Spaces:
Sleeping
Sleeping
Download Dockerfile from Naveedtechlab/learnflow: direct link, hf CLI and curl.
- Browser
- Download file 388 Bytes
-
https://huggingface.co/spaces/Naveedtechlab/learnflow/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Naveedtechlab/learnflow/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Naveedtechlab/learnflow/resolve/main/Dockerfile
388 Bytes
| FROM node:18-alpine | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy application code | |
| COPY . . | |
| # Set the API URL to the Hugging Face deployed API | |
| ENV NEXT_PUBLIC_API_URL=https://naveed247365-learnflow-api.hf.space | |
| # Build the application | |
| RUN npm run build | |
| # Expose port | |
| EXPOSE 3000 | |
| # Start the application | |
| CMD ["npm", "start"] | |