Spaces:
Runtime error
Runtime error
Download Dockerfile from fullstuckdev/sql-agent: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/spaces/fullstuckdev/sql-agent/resolve/dccbb714cf4acb24b32cecc07f8a0231223dd163/Dockerfile
- Command line
-
hf download hf://spaces/fullstuckdev/sql-agent@dccbb714cf4acb24b32cecc07f8a0231223dd163/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fullstuckdev/sql-agent/resolve/dccbb714cf4acb24b32cecc07f8a0231223dd163/Dockerfile
560 Bytes
| FROM node:18-slim | |
| # Install required system dependencies | |
| RUN apt-get update && apt-get install -y \ | |
| build-essential \ | |
| && rm -rf /var/lib/apt/lists/* | |
| ARG HF_TOKEN | |
| ENV API_TOKEN=$HF_TOKEN | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy the rest of the application | |
| COPY . . | |
| # Build the Next.js application | |
| # Note: We don't use turbopack for production builds | |
| RUN npm run build | |
| # Expose the port the app runs on | |
| EXPOSE 3001 | |
| # Start the application | |
| CMD ["npm", "start"] |