mirror of
https://github.com/kuhyx/praca_magisterska.git
synced 2026-07-04 16:43:12 +02:00
29 lines
725 B
Docker
29 lines
725 B
Docker
FROM ubuntu:latest
|
|
|
|
# Set timezone
|
|
ENV TZ=Europe/Warsaw
|
|
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|
|
|
# Install LaTeX dependencies
|
|
RUN apt-get update
|
|
RUN apt-get install -y \
|
|
biber \
|
|
latexmk \
|
|
python3-pip \
|
|
texlive \
|
|
texlive-bibtex-extra \
|
|
texlive-fonts-extra \
|
|
texlive-latex-extra \
|
|
texlive-lang-polish \
|
|
texlive-luatex \
|
|
tex-gyre
|
|
|
|
# Copy WUT-Thesis source code
|
|
COPY . /
|
|
|
|
# Install Python dependencies
|
|
RUN pip install -r requirements.txt
|
|
|
|
# Build and copy referential txt
|
|
ENTRYPOINT [ "/bin/bash", "-c", "scons clean && scons update_refs_local && cp -rv /test/* /ext" ]
|