ast2 / Dockerfile
lubacareer's picture
Deploy AstroBunch backend
f5c99b6
Raw
History Blame Contribute Delete
289 Bytes
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"]