Skip to content

Commit d6332c1

Browse files
committed
Update to Node 18
1 parent 02912de commit d6332c1

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

novasystem-svelte-docker/Dockerfile

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Use the official lightweight Node.js 16 image.
1+
# Use the official lightweight Node.js 18 image.
22
# https://hub.docker.com/_/node
3-
FROM node:16-slim
3+
FROM node:18-slim
44

55
# Create and change to the app directory.
66
WORKDIR /Users/ctavolazzi/Code/NovaSystem/novasystem-svelte-docker
@@ -28,6 +28,3 @@ ENV HOST=0.0.0.0
2828

2929
# Start the Svelte development server on all interfaces
3030
CMD ["npm", "run", "dev", "--", "--host", "localhost", "--port", "8080"]
31-
32-
33-

novasystem-svelte-docker/src/App.svelte

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66

77
<main>
88
<Viewport {content} />
9+
<img src="/Users/ctavolazzi/Code/NovaSystem/novasystem_mockup.jpeg" alt="NovaSystemMockup" />
10+
<img src="https://e7.pngegg.com/pngimages/435/537/png-clipart-computer-icons-hyperlink-direct-link-others-miscellaneous-text.png" alt="Rowan Berries" />
911
<h1>Hello {name}!</h1>
1012
<p>Visit the <a href="https://svelte.dev/tutorial">Svelte tutorial</a> to learn how to build Svelte apps.</p>
1113
<p>Welcome to the Dockerized NovaSystem application.</p>

novasystem_mockup.jpeg

1.87 MB
Loading

0 commit comments

Comments
 (0)