2023-04-23 08:57:37 +02:00
|
|
|
ARG PRETALX_HOSTS_ENTRY
|
2023-04-22 08:07:56 +02:00
|
|
|
FROM python:3.9.16-bullseye as thsf_base
|
|
|
|
RUN apt-get update -y && \
|
|
|
|
apt-get install -y bash make python3-pip && \
|
|
|
|
useradd -m -d /home/thsf -s /bin/bash thsf
|
|
|
|
|
|
|
|
from thsf_base as thsf_build
|
|
|
|
COPY . /home/thsf/
|
|
|
|
RUN chown -R thsf:thsf /home/thsf/
|
|
|
|
USER thsf
|
|
|
|
WORKDIR /home/thsf/
|
|
|
|
|
|
|
|
from thsf_build
|
|
|
|
RUN make install
|
|
|
|
CMD ["make", "run"]
|