update docker for frontend and rename title of website and add icon

This commit is contained in:
dominik24c 2022-06-22 18:35:04 +02:00
parent 8f8deb4238
commit 24457a252a
4 changed files with 7 additions and 4 deletions

View File

@ -19,4 +19,6 @@ services:
depends_on:
- backend
ports:
- "3000:3000"
- "3000:3000"
environment:
- CHOKIDAR_USEPOLLING=true

View File

@ -3,6 +3,7 @@ FROM node:16-alpine
WORKDIR /app
COPY package.json .
COPY package-lock.json .
RUN npm i

View File

@ -2,14 +2,14 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="%PUBLIC_URL%/notes.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!-- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />-->
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
@ -24,7 +24,7 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>System PRI</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>

BIN
frontend/public/notes.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 169 KiB