Spaces:
Paused
Paused
Download server/Dockerfile from GXSNetwork/BioNexus: direct link, hf CLI and curl.
- Browser
- Download file 292 Bytes
-
https://huggingface.co/spaces/GXSNetwork/BioNexus/resolve/main/server/Dockerfile
- Command line
-
hf download hf://spaces/GXSNetwork/BioNexus/server/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/GXSNetwork/BioNexus/resolve/main/server/Dockerfile
292 Bytes
| # Use Node.js runtime | |
| FROM node:18-alpine | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy package files | |
| COPY package*.json ./ | |
| # Install dependencies | |
| RUN npm install --only=production | |
| # Copy application code | |
| COPY . . | |
| # Expose port | |
| EXPOSE 3001 | |
| # Start the application | |
| CMD ["node", "index.js"] |