Use multi-stage build to generate image from mustache template
This commit is contained in:
parent
3a516e4e19
commit
b348a1ecca
2 changed files with 11 additions and 4 deletions
|
@ -1,2 +1,9 @@
|
|||
FROM mhart/alpine-node:8.9.4 as build
|
||||
RUN npm install -g mustache
|
||||
COPY . /build
|
||||
WORKDIR /build
|
||||
RUN mustache events.json index.mustache > index.html
|
||||
|
||||
FROM nginx:1.12.2
|
||||
COPY . /usr/share/nginx/html
|
||||
COPY --from=build /build/index.html /usr/share/nginx/html/index.html
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
"link": "https://www.meetup.com/fr-FR/Sophia-Antipolis-HashiCorp-User-Group/events/246742297/"
|
||||
},
|
||||
{
|
||||
"type": "telecomvalley-cos",
|
||||
"type": "telecomvalley",
|
||||
"title": "Commission Open Source",
|
||||
"date": "25/01/2018",
|
||||
"desc": "Retour d'expérience sur l'utilisation de <b>Kafka</b> par <b>Sébastien Alegret</b> de GreenCom Network",
|
||||
|
@ -30,20 +30,20 @@
|
|||
},
|
||||
{
|
||||
"type": "rivierajug",
|
||||
"title": "Riviera Jug",
|
||||
"title": "",
|
||||
"date": "06/02/2018",
|
||||
"desc": "Présentation de la base de données <b>Hazelcast</b> par <b>Neil Stevenson</b>",
|
||||
"link": "http://rivierajug.org/xwiki/bin/view/Main/201802-hazelcast"
|
||||
},
|
||||
{
|
||||
"type": "telecomvalley-cos",
|
||||
"type": "telecomvalley",
|
||||
"title": "Commission Open Source",
|
||||
"date": "20/02/2018",
|
||||
"desc": "Présentation de <b>Open Source Business Diagnostic</b> par <b>Jaime Arredondo</b> (BoldAndOpen.com)",
|
||||
"link": ""
|
||||
},
|
||||
{
|
||||
"type": "telecomvalley-cos",
|
||||
"type": "telecomvalley",
|
||||
"title": "Commission Open Source",
|
||||
"date": "15/03/2018",
|
||||
"desc": "Introduction à la programmation fonctionnelle par <b>Yann Esposito</b>. Attention, <b>Haskell</b> au programme...",
|
||||
|
|
Loading…
Reference in a new issue