Dockerfile 708 B

12345678910111213141516171819202122232425
  1. FROM continuumio/miniconda3:23.5.2-0
  2. WORKDIR /app/aphrodite-engine
  3. # Upgrade OS Packages
  4. RUN set -eux; \
  5. apt-get update \
  6. && apt-get upgrade -y \
  7. && rm -rf /var/lib/apt/lists/*
  8. COPY environment.yml /app/aphrodite-engine
  9. # Preparing Conda Environment
  10. RUN apt-get update \
  11. && apt-get install -y build-essential \
  12. && conda env create -f /app/aphrodite-engine/environment.yml -n aphrodite-engine \
  13. && apt-get purge -y --auto-remove build-essential \
  14. && pip install --upgrade ray pyarrow pandas \
  15. && rm -fr /var/lib/apt/lists/*
  16. COPY entrypoint.sh /app/aphrodite-engine
  17. ENV PATH /opt/conda/envs/aphrodite-engine/bin:$PATH
  18. ENTRYPOINT [ "/app/aphrodite-engine/entrypoint.sh" ]