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 FROM node:latest
WORKDIR /app WORKDIR /app
COPY . . COPY . .
RUN npm install RUN npm install && npm run build
EXPOSE 5173 EXPOSE 5173
CMD ["npm", "run", "dev"] CMD ["npm", "run", "preview", "--host"]

View File

@@ -1,6 +1,6 @@
<footer> <footer>
<div> <div>
<p>© 2020 - 2021 Created by <a href="Whidix">Whidix</a></p> <p>© 2020 - 2021 Created by Me</p>
</div> </div>
</footer> </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 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 devtools network panel and reloading.
</p> </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> </div>