File size: 312 Bytes
634ca1b
 
 
 
 
 
1
2
3
4
5
6
7
FROM python:3.10-slim
RUN pip install --no-cache-dir gradio torch transformers accelerate spaces
WORKDIR /app
COPY app.py requirements.txt ./
# Test: just import the app module — if rmsnorm_fn is None, it'll crash at model load
CMD ["python", "-c", "import app; print('✅ App module imported successfully')"]