forked from bitroniq/ten-seconds-cv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
747c906
commit 8c4f30a
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] |