Spaces:
Sleeping
Sleeping
Download Dockerfile from samu/AnotherLanguageApp: direct link, hf CLI and curl.
- Browser
- Download file 442 Bytes
-
https://huggingface.co/spaces/samu/AnotherLanguageApp/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/samu/AnotherLanguageApp/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/samu/AnotherLanguageApp/resolve/main/Dockerfile
442 Bytes
| FROM python:3.12-slim | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements and install dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy schema, backend files, and environment config | |
| COPY backend/schema.sql . | |
| COPY backend/ backend/ | |
| COPY .env* ./ | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start the application | |
| CMD ["uvicorn", "backend.main:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "2"] |