2023-03-17 10:47:06 +01:00
|
|
|
ARG UBUNTU_VERSION=22.04
|
|
|
|
|
|
|
|
FROM ubuntu:$UBUNTU_VERSION as build
|
|
|
|
|
|
|
|
RUN apt-get update && \
|
|
|
|
apt-get install -y build-essential python3 python3-pip
|
|
|
|
|
|
|
|
RUN pip install --upgrade pip setuptools wheel \
|
2023-03-20 09:24:11 +01:00
|
|
|
&& pip install numpy requests sentencepiece torch tqdm
|
2023-03-17 10:47:06 +01:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
|
|
|
|
|
|
|
RUN make
|
|
|
|
|
2023-03-20 09:24:11 +01:00
|
|
|
ENTRYPOINT ["/app/.devops/tools.sh"]
|