Spaces:
No application file
No application file
Download dockerfile from Eshit/mini_accountant_env: direct link, hf CLI and curl.
- Browser
- Download file 528 Bytes
-
https://huggingface.co/spaces/Eshit/mini_accountant_env/resolve/main/dockerfile
- Command line
-
hf download hf://spaces/Eshit/mini_accountant_env/dockerfile
-
curl -L -o dockerfile https://huggingface.co/spaces/Eshit/mini_accountant_env/resolve/main/dockerfile
528 Bytes
| # 1. Use an official Python runtime as a parent image | |
| FROM python:3.10-slim | |
| # 2. Set the working directory in the container | |
| WORKDIR /app | |
| # 3. Copy the requirements file first (better for Docker caching) | |
| COPY requirements.txt . | |
| # 4. Install dependencies | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # 5. Copy the rest of your application code | |
| COPY . . | |
| # 6. Expose the port the app runs on | |
| EXPOSE 7860 | |
| # 7. Run the application | |
| # We use the same command you used locally! | |
| CMD ["python", "-m", "mini_accountant_env.app"] |