Upload level exam without hooking up to firestore and running in thread, will do this when I have the edit view done

This commit is contained in:
Carlos Mesquita
2024-08-17 09:29:58 +01:00
parent beccf8b501
commit 03f5b7d72c
19 changed files with 742 additions and 9 deletions

View File

@@ -11,7 +11,71 @@ ENV APP_HOME /app
WORKDIR $APP_HOME
COPY . ./
RUN apt update && apt install -y ffmpeg
# TODO: Test if these latex packages are enough for pandoc
RUN apt update && apt install -y \
ffmpeg \
poppler-utils \
texlive-latex-base \
texlive-fonts-recommended \
texlive-latex-extra \
texlive-xetex \
pandoc \
librsvg2-bin \
&& rm -rf /var/lib/apt/lists/*
# Install additional LaTeX packages
RUN tlmgr init-usertree && \
tlmgr install \
adjustbox \
booktabs \
caption \
collectbox \
enumitem \
environ \
eurosym \
fancyhdr \
float \
ifoddpage \
lastpage \
listings \
makecell \
marginnote \
microtype \
multirow \
needspace \
parskip \
pdfpages \
sourcesanspro \
tcolorbox \
threeparttable \
tikz \
titlesec \
tocbibind \
tocloft \
trimspaces \
ulem \
varwidth \
wrapfig \
babel \
hyphenat \
ifplatform \
letltxmacro \
lineno \
marvosym \
pgf \
realscripts \
soul \
tabu \
times \
titling \
ucharcat \
unicode-math \
upquote \
was \
xcolor \
xecjk \
xltxtra \
zref
# Install production dependencies.
RUN pip install --no-cache-dir -r requirements.txt