FROM pytorch/pytorch:2.5.1-cuda12.4-cudnn9-runtime WORKDIR /app ENV PORT=7860 ENV PYTHONUNBUFFERED=1 COPY requirements.txt . RUN python -m pip install --no-cache-dir -r requirements.txt COPY crystal_identifier ./crystal_identifier COPY run_server.py . CMD ["python", "run_server.py"]