Download Dockerfile from alien2614/Grid-Scale_Energy_Storage_Arbitrage: direct link, hf CLI and curl.
- Browser
- Download file 315 Bytes
-
https://huggingface.co/spaces/alien2614/Grid-Scale_Energy_Storage_Arbitrage/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/alien2614/Grid-Scale_Energy_Storage_Arbitrage/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/alien2614/Grid-Scale_Energy_Storage_Arbitrage/resolve/main/Dockerfile
315 Bytes
| FROM python:3.11-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy all files | |
| COPY . . | |
| # Install uv and install dependencies globally (system-wide) | |
| RUN pip install uv && \ | |
| uv pip install --system . | |
| # Expose the server port | |
| EXPOSE 7860 | |
| # Start the server using system python | |
| CMD ["python", "-m", "server.app"] |