Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ RUN npm install
# Copy sources
COPY public ./public
COPY src ./src
COPY index.html ./
COPY vite.config.js ./

# Build the application
RUN mkdir ./config `# Must be present for copy stage` \
Expand Down
11 changes: 6 additions & 5 deletions public/index.html → index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,23 @@
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<link rel="icon" href="/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="NDSF edition of the Sealog event logging web client"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>Sealog</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div class="container" id="root"></div>

<script src="%PUBLIC_URL%/config/client_config.js"></script>
<script src="%PUBLIC_URL%/config/map_tilelayers.js"></script>
<script src="/config/client_config.js"></script>
<script src="/config/map_tilelayers.js"></script>
<script type="module" src="/src/index.jsx"></script>
</body>
</html>
Loading
Loading