add .dockerignore, add Dockerfile, add default.nix, udpate README.md, move packages into respective category(dev/production)

This commit is contained in:
2020-11-23 17:44:47 +00:00
parent 41798367c8
commit d409d0cf93
6 changed files with 1537 additions and 1446 deletions

21
default.nix Normal file
View File

@@ -0,0 +1,21 @@
with import <nixpkgs> {};
with pkgs.yarn;
stdenv.mkDerivation {
name = "yarn";
buildInputs = [
nodejs-10_x
(yarn.override { nodejs = nodejs-10_x; })
mozjpeg
optipng
autoconf
automake];
src = null;
shellHook = ''
unset http_proxy
export GIT_SSL_CAINFO=/etc/ssl/certs/ca-bundle.crt
SOURCE_DATE_EPOCH=$(date +%s)
zsh
'';
}