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"]