Add Dockerfile and remove lume install from flake.nix that was causing version issues

This commit is contained in:
Benjamin Bädorf 2022-10-20 17:58:26 +02:00
parent e06748d503
commit 97ae7862e7
No known key found for this signature in database
GPG key ID: 4406E80E13CD656C
3 changed files with 16 additions and 1 deletions

7
Dockerfile Normal file
View 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

View file

@ -53,7 +53,6 @@
];
bash.extra = ''
export NVIM_USE_DENOLS=1
deno run -Ar https://deno.land/x/lume@v1.12.1/init.ts
'';
};
};

9
shell.nix Normal file
View 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 = [
];
}