diff --git a/Dockerfile b/Dockerfile index 578f00d..89db8a1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM node:latest WORKDIR /app COPY . . -RUN npm install +RUN npm install && npm run build EXPOSE 5173 -CMD ["npm", "run", "dev"] \ No newline at end of file +CMD ["npm", "run", "preview", "--host"] \ No newline at end of file diff --git a/src/routes/Footer.svelte b/src/routes/Footer.svelte index 6e134b4..d15562b 100644 --- a/src/routes/Footer.svelte +++ b/src/routes/Footer.svelte @@ -1,6 +1,6 @@ diff --git a/src/routes/about/+page.svelte b/src/routes/about/+page.svelte index 7f7946d..e455571 100644 --- a/src/routes/about/+page.svelte +++ b/src/routes/about/+page.svelte @@ -18,9 +18,4 @@ Because of that, we don't need to load any JavaScript. Try viewing the page's source, or opening the devtools network panel and reloading.
- -- The Sverdle page illustrates SvelteKit's data loading and form handling. Try - using it with JavaScript disabled! -