| FROM python:3.11-slim |
|
|
| WORKDIR /app |
|
|
| COPY requirements.txt . |
| RUN pip install --no-cache-dir -r requirements.txt |
|
|
| COPY . . |
|
|
| |
| |
| RUN python -c "from pathlib import Path; from zipfile import ZIP_DEFLATED, ZipFile; root = Path('assets/technical_report_template'); output = root / 'alpasim_technical_report_template.zip'; files = ['README.md', 'LICENSE-CC-BY-4.0.md', 'alpasim_technical_report.tex', 'neurips_2026.sty']; zip_file = ZipFile(output, 'w', ZIP_DEFLATED); [zip_file.write(root / name, name) for name in files]; zip_file.close()" |
|
|
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860", "--workers", "1"] |
|
|