2023-04-23 17:57:37 +11:00
|
|
|
ARG PRETALX_HOSTS_ENTRY
|
2023-04-22 17:07:56 +11: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"]
|