Build and Docker hosting
This commit is contained in:
4
Dockerfile
Normal file
4
Dockerfile
Normal 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
3
README.md
Normal 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
2
dist/index.html
vendored
@@ -7,7 +7,7 @@
|
||||
|
||||
<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>
|
||||
<main id="app"></main>
|
||||
|
||||
|
||||
8
dist/malxte_de-a1fcba309c628f85.js
vendored
8
dist/malxte_de-a1fcba309c628f85.js
vendored
@@ -239,14 +239,14 @@ if (!('encodeInto' in cachedTextEncoder)) {
|
||||
|
||||
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) {
|
||||
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) {
|
||||
const ret = wasm.wasm_bindgen__convert__closures_____invoke__h1f2eaa716dfe757f(arg0, arg1);
|
||||
return ret !== 0;
|
||||
|
||||
BIN
dist/malxte_de-a1fcba309c628f85_bg.wasm
vendored
BIN
dist/malxte_de-a1fcba309c628f85_bg.wasm
vendored
Binary file not shown.
7
docker-compose.yml
Normal file
7
docker-compose.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
services:
|
||||
malxte_de:
|
||||
build: .
|
||||
ports:
|
||||
- "1324:80"
|
||||
restart: "unless-stopped"
|
||||
container_name: malxte_de
|
||||
Reference in New Issue
Block a user