File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ RUN apt-get update
1515RUN apt-get install -qq apt-utils
1616# we need libsqlite3-dev now if ubuntu doesn't come with that, we'll need
1717# to build our own Python
18- # Leave out inkscape
19- RUN DEBIAN_FRONTEND="noninteractive" TZ="US/Eastern" apt-get install -qq liblapack-dev llvm-10 llvm-10-dev gfortran maria libmysqlclient-dev sqlite3 python3-pip python3-setuptools git python3-matplotlib python-matplotlib-data x11-apps asymptote w3m latexmk texlive-xetex lmodern texlive-latex-extra texlive-fonts-recommended
18+ # Leave out inkscape for now.
19+ RUN DEBIAN_FRONTEND="noninteractive" TZ="US/Eastern" apt-get install -qq liblapack-dev llvm-10 llvm-10-dev gfortran maria libmysqlclient-dev sqlite3 python3-pip python3-setuptools git python3-matplotlib python-matplotlib-data x11-apps asymptote w3m latexmk texlive-xetex lmodern texlive-latex-extra texlive-fonts-recommended nodejs
2020RUN pip install --no-cache-dir -r requirements.txt
2121COPY requirements-mathicsscript.txt ./
2222RUN pip install --no-cache-dir -r requirements-mathicsscript.txt
@@ -35,8 +35,9 @@ RUN ${PYTHON} -m pip install -e git://github.com/Mathics3/mathics-django#egg=Mat
3535
3636RUN pip install pymathics-natlang
3737RUN pip install pymathics-graph
38+ RUN (cd src/mathics-django && npm install && make)
3839RUN (cd src/mathics-django && ${PYTHON} mathics_django/docpipeline.py -o)
39- RUN mkdir -p /usr/src/app/.local/var/mathics && cp -v /root/.local/var/mathics/doc_data.pcl /usr/src/app/.local/var/mathics/doc_data.pcl nodejs
40+ RUN mkdir -p /usr/src/app/.local/var/mathics && cp -v /root/.local/var/mathics/doc_data.pcl /usr/src/app/.local/var/mathics/doc_data.pcl
4041
4142RUN ${PYTHON} -m pip install -e git://github.com/Mathics3/mathicsscript#egg=mathicsscript[full]
4243RUN (cd src/mathicsscript && make)
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ RUN apt-get install -qq apt-utils
1616# we need libsqlite3-dev now if ubuntu doesn't come with that, we'll need
1717# to build our own Python
1818# Leave out inkscape for now.
19- RUN DEBIAN_FRONTEND="noninteractive" TZ="US/Eastern" apt-get install -qq liblapack-dev llvm-10 llvm-10-dev gfortran maria libmysqlclient-dev sqlite3 python3-pip python3-setuptools git python3-matplotlib python-matplotlib-data x11-apps asymptote w3m latexmk texlive-xetex lmodern texlive-latex-extra texlive-fonts-recommended
19+ RUN DEBIAN_FRONTEND="noninteractive" TZ="US/Eastern" apt-get install -qq liblapack-dev llvm-10 llvm-10-dev gfortran maria libmysqlclient-dev sqlite3 python3-pip python3-setuptools git python3-matplotlib python-matplotlib-data x11-apps asymptote w3m latexmk texlive-xetex lmodern texlive-latex-extra texlive-fonts-recommended nodejs npm
2020RUN pip install --no-cache-dir -r requirements.txt
2121COPY requirements-mathicsscript.txt ./
2222RUN pip install --no-cache-dir -r requirements-mathicsscript.txt
@@ -36,8 +36,9 @@ RUN ${PYTHON} -m pip install -e git://github.com/Mathics3/mathics-django#egg=Mat
3636
3737RUN pip install pymathics-natlang
3838RUN pip install pymathics-graph
39+ RUN (cd src/mathics-django && npm install && make)
3940RUN (cd src/mathics-django && ${PYTHON} mathics_django/docpipeline.py -o)
40- RUN mkdir -p /usr/src/app/.local/var/mathics && cp -v /root/.local/var/mathics/doc_data.pcl /usr/src/app/.local/var/mathics/doc_data.pcl nodejs
41+ RUN mkdir -p /usr/src/app/.local/var/mathics && cp -v /root/.local/var/mathics/doc_data.pcl /usr/src/app/.local/var/mathics/doc_data.pcl
4142
4243RUN ${PYTHON} -m pip install -e git://github.com/Mathics3/mathicsscript#egg=mathicsscript[full]
4344RUN (cd src/mathicsscript && make)
You can’t perform that action at this time.
0 commit comments