created dockerfile

This commit is contained in:
2026-07-02 23:30:10 +03:00
parent b27529c6a5
commit 7b9eea35dd
4 changed files with 28 additions and 40 deletions
+19
View File
@@ -0,0 +1,19 @@
node_modules
pnpm-lock.yaml
.git
.gitignore
.env
.DS_Store
*.md
LICENSE
Makefile
bin/
manimations/
llms/
.husky
.github
.vscode
themes/
public/
target/
dist/
+9
View File
@@ -0,0 +1,9 @@
FROM ghcr.io/getzola/zola:v0.22.1 AS zola
COPY . /project
WORKDIR /project
RUN ["zola", "build"]
FROM ghcr.io/static-web-server/static-web-server:2
WORKDIR /
COPY --from=zola /project/public /public
-16
View File
@@ -1,16 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
ZOLA_VERSION=0.22.1
echo "Downloading Zola ${ZOLA_VERSION}..."
curl -sLJO "https://github.com/getzola/zola/releases/download/v${ZOLA_VERSION}/zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz"
echo "Extracting Zola..."
tar -xf zola-v${ZOLA_VERSION}-x86_64-unknown-linux-gnu.tar.gz
echo "Building site with Zola..."
./zola build
echo "Build complete! Generated files:"
ls -la public/
-24
View File
@@ -1,24 +0,0 @@
name = "andwati-com"
compatibility_date = "2026-04-2"
compatibility_flags = ["nodejs_compat"]
[build]
command = "./build.sh"
[assets]
directory = "./public"
[observability]
enabled = false
head_sampling_rate = 1
[observability.logs]
enabled = true
head_sampling_rate = 1
persist = true
invocation_logs = true
[observability.traces]
enabled = false
persist = true
head_sampling_rate = 1