Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v14.11.0
v20
33 changes: 33 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM debian:bookworm-slim

# Install base dependencies
RUN apt-get update && apt-get install -y \
wget \
curl \
ca-certificates && \
rm -rf /var/lib/apt/lists/*

# Install Node.js 20.x from NodeSource
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*

# Install Hugo 0.163.3 extended
RUN wget -q https://github.com/gohugoio/hugo/releases/download/v0.163.3/hugo_extended_0.163.3_linux-amd64.tar.gz && \
tar xzf hugo_extended_0.163.3_linux-amd64.tar.gz -C /usr/local/bin && \
rm hugo_extended_0.163.3_linux-amd64.tar.gz && \
hugo version

WORKDIR /site

# Copy project files
COPY . /site/

# Install npm dependencies with lockfile
RUN npm ci

# Expose Hugo server port
EXPOSE 1313

# Default command: run Hugo server
CMD ["hugo", "server", "--bind", "0.0.0.0", "--buildDrafts", "--buildFuture", "--disableFastRender"]
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ clean:
prepare:
$(CURDIR)/load-docs.sh

SASS_BIN := $(CURDIR)/node_modules/.bin
export PATH := $(SASS_BIN):$(PATH)

serve:
@./scripts/setup-dart-sass.sh
hugo server \
--bind 0.0.0.0 \
--buildDrafts \
Expand Down
25 changes: 0 additions & 25 deletions assets/sass/admonition.sass

This file was deleted.

Loading
Loading