-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathDockerfile
More file actions
26 lines (23 loc) · 985 Bytes
/
Dockerfile
File metadata and controls
26 lines (23 loc) · 985 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
ARG BASE_CONTAINER=jupyter/base-notebook:python-3.8.8
FROM $BASE_CONTAINER
LABEL author="Julian Weng"
USER root
RUN pip3 install --upgrade pip==21.3.1
RUN conda install ujson==1.35 PyTorch==1.8.0 -y
RUN sudo apt-get update -y
RUN sudo apt-get install python3-dev -y
RUN sudo apt-get install gcc -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends tzdata
RUN sudo apt-get install -y pkg-config libxml2-dev libxmlsec1-dev libxmlsec1-openssl
RUN pip3 install sanic==20.9.1
RUN pip3 install transformers==4.8.2 PyDictionary bs4 lxml mathparse discord click==7.1.1
RUN pip3 install rasa-x==1.0.0 --extra-index-url https://pypi.rasa.com/simple
RUN pip3 install spacy==3.0.6
RUN pip3 install sentence-transformers==2.1.0
RUN pip3 install sympy==1.9
RUN pip3 install pandas==1.3.4
RUN spacy download en_core_web_md;
RUN apt update && apt install tzdata -y
ENV TZ="America/New_York"
# Switch back to jovyan to avoid accidental container runs as root
USER $NB_UID