mirror of
https://github.com/Luzifer/browserphone.git
synced 2024-11-08 13:50:05 +00:00
Add manifest
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
facd2c06d4
commit
1679c8b0d5
7 changed files with 33 additions and 3 deletions
|
@ -27,5 +27,5 @@ RUN set -ex \
|
|||
&& apk --no-cache add bash
|
||||
|
||||
EXPOSE 3000/tcp
|
||||
WORKDIR "/usr/local/share/browserphone"
|
||||
WORKDIR "/usr/local/share/browserphone/dist"
|
||||
CMD ["/usr/local/bin/docker-entrypoint.sh"]
|
||||
|
|
2
dist/index.html
vendored
2
dist/index.html
vendored
|
@ -10,6 +10,8 @@
|
|||
integrity="sha384-oS3vJWv+0UjzBfQzYUhtDYW+Pj2yciDJxpsK1OYPAYjqT085Qq/1cq5FLXAZQ7Ay" crossorigin="anonymous">
|
||||
|
||||
<title>BrowserPhone</title>
|
||||
|
||||
<link rel="manifest" href="manifest.json">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
|
25
dist/manifest.json
vendored
Normal file
25
dist/manifest.json
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
"short_name": "BrowserPhone",
|
||||
"name": "BrowserPhone",
|
||||
"icons": [
|
||||
{
|
||||
"src": "phone_192.png",
|
||||
"type": "image/png",
|
||||
"sizes": "192x192"
|
||||
},
|
||||
{
|
||||
"src": "phone_512.png",
|
||||
"type": "image/png",
|
||||
"sizes": "512x512"
|
||||
},
|
||||
{
|
||||
"src": "phone_600.png",
|
||||
"type": "image/png",
|
||||
"sizes": "600x600"
|
||||
}
|
||||
],
|
||||
"start_url": "/",
|
||||
"background-color": "#222222",
|
||||
"display": "standalone",
|
||||
"theme_color": "#222222"
|
||||
}
|
BIN
dist/phone_192.png
vendored
Normal file
BIN
dist/phone_192.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
dist/phone_512.png
vendored
Normal file
BIN
dist/phone_512.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 52 KiB |
BIN
dist/phone_600.png
vendored
Normal file
BIN
dist/phone_600.png
vendored
Normal file
Binary file not shown.
After Width: | Height: | Size: 46 KiB |
|
@ -1,7 +1,10 @@
|
|||
#!/usr/local/bin/dumb-init /bin/bash
|
||||
set -euxo pipefail
|
||||
|
||||
ln -f dist/app.js app.js
|
||||
korvike -i dist/index.html -o index.html
|
||||
if [[ ! -f index.html.dist ]]; then
|
||||
mv index.html index.html.dist
|
||||
fi
|
||||
|
||||
korvike -i index.html.dist -o index.html
|
||||
|
||||
exec python -m http.server 3000
|
||||
|
|
Loading…
Reference in a new issue