@petrosagg Sounds great, but for me ENV WPE_URL="file:///var/lib/public_html/index.html"
doesn’t render html, instead it literally shows the index.html
's code.
Here are the steps to reproduce:
git clone https://github.com/resin-io-playground/resin-wpe
cd resin-wpe
mkdir public_html
wget https://github.com/h5bp/html5-boilerplate/releases/download/5.3.0/html5-boilerplate_v5.3.0.zip
unzip html5-boilerplate_v5.3.0.zip -d public_html
rm html5-boilerplate_v5.3.0.zip
then add
COPY public_html /var/lib/public_html
ENV WPE_URL="file:///var/lib/public_html/index.html"
to Dockerfile
before CMD
and push to resin.