You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
410 B
Docker
21 lines
410 B
Docker
FROM python:3.9-bookworm
|
|
|
|
# install additional dependencies
|
|
RUN apt-get update && apt-get install -y gettext texlive texlive-fonts-extra pandoc
|
|
|
|
WORKDIR /app
|
|
|
|
# install requirements
|
|
COPY ./requirements.txt /app/requirements.txt
|
|
RUN pip install coverage -r requirements.txt
|
|
|
|
ARG GID
|
|
ARG UID
|
|
ARG USER
|
|
|
|
RUN groupadd -g $GID $USER && useradd -g $GID -u $UID -m -d /app $USER
|
|
|
|
USER $USER
|
|
|
|
COPY ./docker /app/docker
|