[FEAT] set manifest to consider web pasge as an application
This commit is contained in:
parent
401e2ce3c5
commit
4993c17136
@ -61,6 +61,7 @@ COPY \
|
|||||||
./
|
./
|
||||||
|
|
||||||
COPY front/public ./public
|
COPY front/public ./public
|
||||||
|
COPY front/public/icons ./public/icons
|
||||||
COPY front/src ./src
|
COPY front/src ./src
|
||||||
|
|
||||||
#We are not in prod mode ==> we need to overwrite the production env.
|
#We are not in prod mode ==> we need to overwrite the production env.
|
||||||
@ -99,6 +100,8 @@ ENV LANG C.UTF-8
|
|||||||
COPY --from=build_back /tmp/out/maven/*.jar /application/application.jar
|
COPY --from=build_back /tmp/out/maven/*.jar /application/application.jar
|
||||||
COPY --from=build_front /tmp/dist /application/front/
|
COPY --from=build_front /tmp/dist /application/front/
|
||||||
|
|
||||||
|
# COPY front/public/icons /application/front/public/icons
|
||||||
|
# COPY front/public/icons /application/front/icons
|
||||||
WORKDIR /application/
|
WORKDIR /application/
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8" />
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="manifest" href="/manifest.json" />
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
<title>Karusic</title>
|
<title>Karusic</title>
|
||||||
<link rel="icon" href="/favicon.ico" />
|
<link rel="icon" href="/favicon.ico" />
|
||||||
|
BIN
front/public/icons/icon-192x192.png
Normal file
BIN
front/public/icons/icon-192x192.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
front/public/icons/icon-512x512.png
Normal file
BIN
front/public/icons/icon-512x512.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 41 KiB |
21
front/public/manifest.json
Normal file
21
front/public/manifest.json
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"name": "Karusic",
|
||||||
|
"short_name": "Karusic",
|
||||||
|
"description": "(K)angaroo (A)nd (R)abbit m(usic) is a music streaming",
|
||||||
|
"start_url": "/karusic/",
|
||||||
|
"display": "standalone",
|
||||||
|
"background_color": "#000000",
|
||||||
|
"theme_color": "#FFFFFF",
|
||||||
|
"icons": [
|
||||||
|
{
|
||||||
|
"src": "/icons/icon-192x192.png",
|
||||||
|
"sizes": "192x192",
|
||||||
|
"type": "image/png"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"src": "/icons/icon-512x512.png",
|
||||||
|
"sizes": "512x512",
|
||||||
|
"type": "image/png"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user