mirror of
https://git.bolliret.ch/pcs/pcs-website
synced 2026-01-18 20:31:36 +01:00
17 lines
No EOL
523 B
Docker
17 lines
No EOL
523 B
Docker
FROM debian:latest
|
|
|
|
RUN apt update
|
|
RUN apt install -y python3-pip python3-venv pipx curl locales
|
|
RUN pipx install lektor
|
|
RUN mkdir -p /opt/lektor/project && mkdir -p /opt/lektor/output
|
|
RUN sed -i '/de_DE.UTF-8/s/^# //g' /etc/locale.gen && locale-gen
|
|
|
|
COPY entrypoint.sh /opt/entrypoint.sh
|
|
RUN chmod +x /opt/entrypoint.sh
|
|
|
|
WORKDIR /opt/lektor/project
|
|
|
|
ENV PATH="$PATH:/root/.local/bin"
|
|
ENV CALENDAR_URL="https://backoffice.pc-stammertal.ch/remote.php/dav/public-calendars/RqLX5wj25aY6cpnP?export"
|
|
|
|
CMD ["/opt/entrypoint.sh"] |