feat: entire blog now looks good :thumbs_up:
All checks were successful
ci/woodpecker/manual/woodpecker Pipeline was successful

This commit is contained in:
hexlocation 2025-02-19 22:41:31 +01:00
parent 014a99d7e2
commit f76196b017
Signed by: hex
GPG key ID: A19EFFAAF8C00FCF
18 changed files with 2584 additions and 3 deletions

25
Dockerfile Normal file
View file

@ -0,0 +1,25 @@
FROM docker.io/node:23-alpine3.20 as compiled
WORKDIR /tmp
USER root
# Copy the source code into the temp folder.
COPY . /tmp
# Installing the dependencies required for compiling.
RUN npm install
RUN npm install @11ty/eleventy -g
RUN npm run compile
FROM docker.io/jitesoft/lighttpd as main
ARG UID=82
ARG GID=82
RUN mkdir -p /html /logs
COPY --chown=$UID:$GID --from=compiled /tmp/build/ /html
RUN chown -R $UID:$GID /html
RUN chown -R $UID:$GID /logs
COPY --chown=$UID:$GID --from=compiled /tmp/config/lighttpd.conf /etc/lighttpd/lighttpd.conf