Skip to content

Commit

Permalink
More generic mounting dir
Browse files Browse the repository at this point in the history
  • Loading branch information
orensbruli committed Jan 4, 2024
1 parent 8f731f2 commit 0b14a51
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/github_action_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
-t latex-build .
- name: Run Docker Container
run: docker run --name latex-container latex-build
run: docker run -v $(pwd):/latex_content --name latex-container latex-build /bin/sh -c "xelatex cv-piotr-kowalski.tex"

- name: Copy PDF from Docker Container
run: docker cp latex-container:/latex_content/cv-piotr-kowalski.pdf output.pdf
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@ RUN apt-get update && apt-get install -y \
# Set working directory
WORKDIR /latex_content

# Copy the LaTeX files into the container
COPY . /latex_content

# 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
Expand Down

0 comments on commit 0b14a51

Please sign in to comment.