Skip to content
Snippets Groups Projects

Draft: feat(Dockerfile): add Dockerfile for local builds

5 files
+ 48
4
Compare changes
  • Side-by-side
  • Inline

Files

Dockerfile 0 → 100644
+ 25
0
 
FROM ubuntu:24.04
 
WORKDIR /usr/local/bin
 
 
RUN apt-get update && apt-get install -y python3.8 python3-pip pipx curl pandoc inotify-tools
 
RUN pipx install poetry==2.0.0
 
# Ensure pipx installs globally and the path is available
 
ENV PIPX_BIN_DIR=/root/.local/bin
 
ENV PATH=$PIPX_BIN_DIR:$PATH
 
#texlive-latex-base texlive-fonts-recommended texlive-fonts-extra texlive-latex-extra curl
 
# RUN python3 -m pip install poetry
 
RUN curl -L -o decker https://github.com/decker-edu/decker/releases/download/latest/decker-latest-Linux-X64-3f4150d61ca167361b02665da969da769ca98e7c
 
RUN chmod +x decker
 
 
WORKDIR /usr/app
 
VOLUME /usr/app/slides
 
COPY . .
 
RUN chmod +x entrypoint.sh
 
 
EXPOSE 8888
 
 
CMD [ "/usr/app/entrypoint.sh" ]
 
# RUN /usr/local/bin/decker --server
 
# RUN pandoc -t beamer output/fvv-folien-deck.md -o output/public/fvv-folien.pdf
 
# RUN decker decks
 
#
Loading