fix dockerfle
This commit is contained in:
@@ -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"]
|
||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user