Skip to content

Commit 32124fe

Browse files
committed
Update docker installation
Install pymathics.natlang Docker files are now in app not docker.
1 parent d7ca53d commit 32124fe

5 files changed

Lines changed: 5 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '2'
22

33
services:
44
mathics:
5-
build: ./app
5+
build: ./docker
66
image: mathicsorg/mathics:latest
77

88
volumes:

app/Dockerfile renamed to docker/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ COPY requirements.txt ./
1212
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
15-
# RUN python -m nltk.downloader wordnet omw
1615
COPY requirements-mathicsscript.txt ./
1716
RUN pip install --no-cache-dir -r requirements-mathicsscript.txt
1817

18+
RUN pip install pymathics-natlang
19+
RUN python -m nltk.downloader wordnet omw
20+
RUN python -m spacy download en
21+
1922
EXPOSE 8000
2023

2124
RUN groupadd mathics && \
File renamed without changes.

0 commit comments

Comments
 (0)