diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..71fc136 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM denoland/deno:alpine-1.26.1 + +WORKDIR /site +COPY . . +RUN chown -R deno:deno . +USER deno +RUN deno task build diff --git a/flake.nix b/flake.nix index 489875a..19d6b61 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,6 @@ ]; bash.extra = '' export NVIM_USE_DENOLS=1 - deno run -Ar https://deno.land/x/lume@v1.12.1/init.ts ''; }; }; diff --git a/shell.nix b/shell.nix new file mode 100644 index 0000000..1c825bd --- /dev/null +++ b/shell.nix @@ -0,0 +1,9 @@ +let + unstable = import (fetchTarball https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz) { }; +in +{ nixpkgs ? import {} }: +with nixpkgs; mkShell { + buildInputs = [ + ]; +} +