mirror of
https://github.com/andwati/andwati.com.git
synced 2026-11-26 02:18:46 +00:00
created dockerfile
This commit is contained in:
@@ -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/
|
||||||
@@ -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
|
||||||
@@ -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/
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user