fix dockerfle

This commit is contained in:
whidix
2022-12-31 16:56:18 +01:00
parent 5e2855d013
commit 36b32865f2
3 changed files with 3 additions and 8 deletions

View File

@@ -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"]
CMD ["npm", "run", "preview", "--host"]

View File

@@ -1,6 +1,6 @@
<footer>
<div>
<p>© 2020 - 2021 Created by <a href="Whidix">Whidix</a></p>
<p>© 2020 - 2021 Created by Me</p>
</div>
</footer>

View File

@@ -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.
</p>
<p>
The <a href="/sverdle">Sverdle</a> page illustrates SvelteKit's data loading and form handling. Try
using it with JavaScript disabled!
</p>
</div>