Spaces:
Sleeping
Sleeping
Download Dockerfile from Akhil-Theerthala/PaperStack: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/Akhil-Theerthala/PaperStack/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Akhil-Theerthala/PaperStack/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Akhil-Theerthala/PaperStack/resolve/main/Dockerfile
351 Bytes
| FROM node:20-slim | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install | |
| # Copy application files | |
| COPY . . | |
| # Build the application | |
| RUN npm run build | |
| # Install serve to run the built app | |
| RUN npm install -g serve | |
| # Expose port | |
| EXPOSE 3000 | |
| # Start the application | |
| CMD ["serve", "-s", "dist", "-l", "3000"] | |