Build and Docker hosting

This commit is contained in:
Malte Schröder
2025-12-13 18:56:02 +01:00
parent 7e7f9de2a5
commit 1b2c5a6a09
6 changed files with 19 additions and 5 deletions

4
Dockerfile Normal file
View File

@@ -0,0 +1,4 @@
FROM nginx:alpine
COPY dist/ /usr/share/nginx/html/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]

3
README.md Normal file
View File

@@ -0,0 +1,3 @@
My personal about website in Rust with the Yew Framework.
Buld with: docker compose up -d --build

2
dist/index.html vendored
View File

@@ -7,7 +7,7 @@
<link rel="stylesheet" href="/style-de1163fb8e7f1e9f.css" integrity="sha384-Qk0Sx6+TQ+0t0kImWcag8nFP0A+5ZfcbEmg/0RIdI7Nxf1ukyBgfugbvt7soTCdV"/> <link rel="stylesheet" href="/style-de1163fb8e7f1e9f.css" integrity="sha384-Qk0Sx6+TQ+0t0kImWcag8nFP0A+5ZfcbEmg/0RIdI7Nxf1ukyBgfugbvt7soTCdV"/>
<link rel="modulepreload" href="/malxte_de-a1fcba309c628f85.js" crossorigin="anonymous" integrity="sha384-xau81/vrMVEJiQSuVQr+JpwUNwtjyetvekAQG6FeDfSPDd+kJ8LD5zqJIuFYckOx"><link rel="preload" href="/malxte_de-a1fcba309c628f85_bg.wasm" crossorigin="anonymous" integrity="sha384-5jXss4n9PC3p18/w+o8fTqS5MnGhFEEmPD/EReoD1VYT7p7vlRyB9LQocDwycG0j" as="fetch" type="application/wasm"></head> <link rel="modulepreload" href="/malxte_de-a1fcba309c628f85.js" crossorigin="anonymous" integrity="sha384-06AF+lVyho7SjFO19hlTN6L77f6QblEYN/dxuVySyGHOtnddtKWQGlKOtXqFNem7"><link rel="preload" href="/malxte_de-a1fcba309c628f85_bg.wasm" crossorigin="anonymous" integrity="sha384-6bhujs7baitJb3sb/rngKgAD8X4y2vScctTMXjdkSMS3BdELcf9izkFpIiIJQGEx" as="fetch" type="application/wasm"></head>
<body> <body>
<main id="app"></main> <main id="app"></main>

View File

@@ -239,14 +239,14 @@ if (!('encodeInto' in cachedTextEncoder)) {
let WASM_VECTOR_LEN = 0; let WASM_VECTOR_LEN = 0;
function wasm_bindgen__convert__closures_____invoke__h41150144d570379a(arg0, arg1, arg2) {
wasm.wasm_bindgen__convert__closures_____invoke__h41150144d570379a(arg0, arg1, arg2);
}
function wasm_bindgen__convert__closures________invoke__hb54cc54debfd07fa(arg0, arg1, arg2) { function wasm_bindgen__convert__closures________invoke__hb54cc54debfd07fa(arg0, arg1, arg2) {
wasm.wasm_bindgen__convert__closures________invoke__hb54cc54debfd07fa(arg0, arg1, arg2); wasm.wasm_bindgen__convert__closures________invoke__hb54cc54debfd07fa(arg0, arg1, arg2);
} }
function wasm_bindgen__convert__closures_____invoke__h41150144d570379a(arg0, arg1, arg2) {
wasm.wasm_bindgen__convert__closures_____invoke__h41150144d570379a(arg0, arg1, arg2);
}
function wasm_bindgen__convert__closures_____invoke__h1f2eaa716dfe757f(arg0, arg1) { function wasm_bindgen__convert__closures_____invoke__h1f2eaa716dfe757f(arg0, arg1) {
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h1f2eaa716dfe757f(arg0, arg1); const ret = wasm.wasm_bindgen__convert__closures_____invoke__h1f2eaa716dfe757f(arg0, arg1);
return ret !== 0; return ret !== 0;

Binary file not shown.

7
docker-compose.yml Normal file
View File

@@ -0,0 +1,7 @@
services:
malxte_de:
build: .
ports:
- "1324:80"
restart: "unless-stopped"
container_name: malxte_de