19 lines
552 B
Docker
19 lines
552 B
Docker
FROM docker.io/nginx:1.29-alpine
|
|
|
|
RUN apk add --update --no-cache unzip bash pandoc sed
|
|
|
|
COPY dist.zip /tmp/dist.zip
|
|
RUN unzip -q /tmp/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 /tmp/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
|