LOra_V4 / Dockerfile
Achtik's picture
Update Dockerfile
1849181 verified
raw
history blame contribute delete
531 Bytes
FROM nvidia/cuda:11.8.0-runtime-ubuntu22.04
# 1. System dependencies
RUN apt-get update && apt-get install -y \
python3.10 \
python3.10-dev \
python3-pip \
git \
aria2 \
libgl1 \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
RUN ln -s /usr/bin/python3.10 /usr/bin/python && \
python -m pip install --upgrade pip
# 2. Working directory
WORKDIR /app
COPY . .
# 3. Install dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
ENTRYPOINT ["python", "app.py"]