Spaces:
Running
Running
Download Dockerfile from powerllm/anycoder-3dfb5929: direct link, hf CLI and curl.
- Browser
- Download file 310 Bytes
-
https://huggingface.co/spaces/powerllm/anycoder-3dfb5929/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/powerllm/anycoder-3dfb5929/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/powerllm/anycoder-3dfb5929/resolve/main/Dockerfile
310 Bytes
| FROM node:18-alpine | |
| WORKDIR /app | |
| # Install dependencies | |
| COPY package*.json ./ | |
| RUN npm install --production | |
| # Copy application code | |
| COPY . . | |
| # Create necessary directories for knowledge base and logs | |
| RUN mkdir -p ict_knowledge_base logs | |
| # Expose port | |
| EXPOSE 3000 | |
| # Run the application | |
| CMD ["npm", "start"] |