full.Dockerfile 398 B

123456789101112131415161718
  1. ARG UBUNTU_VERSION=22.04
  2. FROM ubuntu:$UBUNTU_VERSION as build
  3. RUN apt-get update && \
  4. apt-get install -y build-essential python3 python3-pip
  5. RUN pip install --upgrade pip setuptools wheel \
  6. && pip install numpy requests sentencepiece tqdm \
  7. && pip install torch --index-url https://download.pytorch.org/whl/cpu
  8. WORKDIR /app
  9. COPY . .
  10. RUN make
  11. ENTRYPOINT ["/app/.devops/tools.sh"]