parrot-paraphraser-on-t5/Dockerfile

14 lines
291 B
Docker

FROM python:3.8.13
WORKDIR /app
COPY . /app
RUN pip config set global.index-url https://pypi.mirrors.ustc.edu.cn/simple
RUN pip install git+https://ghproxy.com/https://github.com/PrithivirajDamodaran/Parrot_Paraphraser.git
RUN pip install -r requirements.txt
CMD ["python", "app.py"]