22 lines
467 B
Docker
22 lines
467 B
Docker
FROM rocm/pytorch:rocm7.1.1_ubuntu22.04_py3.11_pytorch_release_2.10.0
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
build-essential \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY wyoming_glados/ ./wyoming_glados/
|
|
COPY download_model.py .
|
|
COPY entrypoint.sh .
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
RUN mkdir -p /data
|
|
|
|
EXPOSE 10200
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|