internet_ml/web/backend/Dockerfile

8 lines
289 B
Docker
Raw Permalink Normal View History

2023-01-03 09:31:15 +00:00
FROM python:3.10
WORKDIR /app
COPY . /app
RUN apt install -y curl && pip3 install poetry
RUN pip3 install transformers tokenizers datasets contractions torch nltk spacy urlextract internet-ml django djangorestframework
EXPOSE 8080
CMD ["python3", "manage.py", "runserver", "0.0.0.0:8080"]