Add Dockerfile and remove lume install from flake.nix that was causing version issues
This commit is contained in:
parent
e06748d503
commit
97ae7862e7
3 changed files with 16 additions and 1 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -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
|
|
@ -53,7 +53,6 @@
|
||||||
];
|
];
|
||||||
bash.extra = ''
|
bash.extra = ''
|
||||||
export NVIM_USE_DENOLS=1
|
export NVIM_USE_DENOLS=1
|
||||||
deno run -Ar https://deno.land/x/lume@v1.12.1/init.ts
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
9
shell.nix
Normal file
9
shell.nix
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
let
|
||||||
|
unstable = import (fetchTarball https://github.com/nixos/nixpkgs/archive/nixos-unstable.tar.gz) { };
|
||||||
|
in
|
||||||
|
{ nixpkgs ? import <nixpkgs> {} }:
|
||||||
|
with nixpkgs; mkShell {
|
||||||
|
buildInputs = [
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue