Skip to content

Commit ffa2de1

Browse files
authored
Merge pull request #987 from mathics/docker-update
Update to docker setup
2 parents d91e81c + 26b43cf commit ffa2de1

File tree

5 files changed

+9
-8
lines changed

5 files changed

+9
-8
lines changed

app/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ RUN apt-get update
1313
RUN apt-get install -qq liblapack-dev llvm-dev gfortran
1414
RUN pip install --no-cache-dir -r requirements.txt
1515
# RUN python -m nltk.downloader wordnet omw
16-
COPY requirements-tmathics.txt ./
17-
RUN pip install --no-cache-dir -r requirements-tmathics.txt
16+
COPY requirements-mathicsscript.txt ./
17+
RUN pip install --no-cache-dir -r requirements-mathicsscript.txt
1818

1919
EXPOSE 8000
2020

app/entrypoint.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
4747
echo
4848

4949
case $mathics_mode in
50-
cli) tmathics $@ ;;
50+
cli) mathicsscript $@ ;;
5151
ui) mathicsserver -e $@ ;;
52+
shell) /bin/bash ;;
5253
*) echo "unknown mathics_mode=$mathics_mode. See '$script_cmd --help'" ; exit 2 ;;
5354
esac

app/requirements-mathicsscript.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
mathics
2+
colorama
3+
pygments
4+
git+https://github.com/Mathics3/mathicsscript

app/requirements-tmathics.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

app/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
sympy>=1.6, < 1.7
2-
django >= 1.8, < 1.12
2+
django >= 3.1.2, < 3.2
33
mpmath>=1.1.0
44
numpy
55
palettable

0 commit comments

Comments
 (0)