WIP: Intégration de la carte du camp #58
1 changed files with 14 additions and 0 deletions
14
Dockerfile
14
Dockerfile
|
|
@ -1,6 +1,20 @@
|
||||||
FROM docker.io/nginx:1.29-alpine
|
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
|
COPY *.html /usr/share/nginx/html
|
||||||
|
RUN mv guide.html /usr/share/nginx/html
|
||||||
COPY assets /usr/share/nginx/html/assets
|
COPY assets /usr/share/nginx/html/assets
|
||||||
COPY css /usr/share/nginx/html/css
|
COPY css /usr/share/nginx/html/css
|
||||||
COPY js /usr/share/nginx/html/js
|
COPY js /usr/share/nginx/html/js
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue