20 lines
631 B
Docker
20 lines
631 B
Docker
FROM docker.io/nginx:1.29-alpine
|
|
|
|
RUN apk add --update --no-cache wget unzip bash pandoc sed
|
|
|
|
RUN wget -q https://git.interhacker.space/epickiwi/2026.camp.carte/releases/download/latest/dist.zip
|
|
RUN unzip -q dist.zip -d /tmp/carte
|
|
RUN mkdir -p /usr/share/nginx/html/carte
|
|
RUN cp -r /tmp/carte/dist/* /usr/share/nginx/html/carte/
|
|
RUN rm -rf /tmp/carte
|
|
RUN rm -rf dist.zip
|
|
|
|
COPY guide.template.html .
|
|
COPY update-guide.sh .
|
|
RUN bash update-guide.sh
|
|
|
|
COPY *.html /usr/share/nginx/html
|
|
RUN mv guide.html /usr/share/nginx/html
|
|
COPY assets /usr/share/nginx/html/assets
|
|
COPY css /usr/share/nginx/html/css
|
|
COPY js /usr/share/nginx/html/js
|