Skip to content

Commit

Permalink
add dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonLovesDoggo committed Jan 6, 2024
1 parent 7825ca7 commit c38886a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .docker/mathoid/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM node:8-stretch-slim

RUN apt-get update && \
apt-get install -y librsvg2-dev git make g++

RUN git clone https://github.com/wikimedia/mathoid
WORKDIR /mathoid
RUN npm install

EXPOSE 10044

CMD ["/mathoid/server.js"]
15 changes: 15 additions & 0 deletions .docker/texoid/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
FROM python:slim

RUN apt-get update && \
apt-get install -y --no-install-recommends \
texlive-binaries texlive-generic-extra texlive-generic-recommended \
texlive-latex-base texlive-latex-extra texlive-latex-recommended \
texlive-pictures texlive-pstricks librsvg2-bin xxd imagemagick git \
build-essential python-dev

RUN git clone https://github.com/DMOJ/texoid/
WORKDIR /texoid/
RUN pip3 install -e .

EXPOSE 8888
ENTRYPOINT texoid --address=texoid --port=8888

0 comments on commit c38886a

Please sign in to comment.