Download Dockerfile from doublechocolatecup/ai-interview-simulator: direct link, hf CLI and curl.
- Browser
- Download file 965 Bytes
-
https://huggingface.co/spaces/doublechocolatecup/ai-interview-simulator/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/doublechocolatecup/ai-interview-simulator/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/doublechocolatecup/ai-interview-simulator/resolve/main/Dockerfile
965 Bytes
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| # AI Interview Simulator β Hugging Face Dockerfile (FIXED) | |
| # βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| FROM python:3.10 | |
| # Environment settings | |
| ENV PORT=7860 | |
| ENV PYTHONDONTWRITEBYTECODE=1 | |
| ENV PYTHONUNBUFFERED=1 | |
| # Create non-root user | |
| RUN useradd -m -u 1000 user | |
| # Set working directory | |
| WORKDIR /app | |
| # Copy requirements first | |
| COPY requirements.txt . | |
| # Install dependencies | |
| RUN pip install --no-cache-dir --upgrade pip | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy all files | |
| COPY . /app | |
| # Switch to user | |
| USER user | |
| # Expose port | |
| EXPOSE 7860 | |
| # Start app | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |