From 0cb722d1cee12783b4084ec2c2d4788cdfacf788 Mon Sep 17 00:00:00 2001 From: ale Date: Fri, 30 Jul 2021 17:52:29 +0200 Subject: [PATCH] clean Dockerfile --- maria/Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maria/Dockerfile b/maria/Dockerfile index fbd6019..77b6496 100644 --- a/maria/Dockerfile +++ b/maria/Dockerfile @@ -1,11 +1,10 @@ FROM python:3 RUN curl https://sh.rustup.rs -sSf | sh -s -- -y -RUN . /root/.cargo/env && pip3 install transformers torch flask +RUN . /root/.cargo/env && pip3 install transformers torch RUN mkdir -p /maria WORKDIR /maria RUN git clone https://huggingface.co/BSC-TeMU/roberta-base-bne COPY ./roberta.py /maria/roberta.py RUN python3 roberta.py "hola " -CMD "hola " ENTRYPOINT ["python3", "roberta.py"]