Skip to content

Commit

Permalink
Creating Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
orensbruli committed Jan 4, 2024
1 parent 747c906 commit 8c4f30a
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@

# Use an official Ubuntu base image
FROM ubuntu:latest

# Install LaTeX packages
RUN apt-get update && apt-get install -y \
texlive \
texlive-xetex \
texlive-lualatex \
texlive-math-extra \
texlive-fonts-extra \
texlive-pstricks

# Set working directory
WORKDIR /usr/src/app

# Copy the LaTeX files into the container
COPY . .

# Note: For Font Awesome support, compile with LuaLaTeX instead of XeLaTeX
# Default command to compile the LaTeX document using XeLaTeX
# This command can be overridden when running the container
CMD ["xelatex", "template.tex"]

0 comments on commit 8c4f30a

Please sign in to comment.