Skip to content

Commit

Permalink
fixup! Build the frontend with nix and add to container
Browse files Browse the repository at this point in the history
  • Loading branch information
choener committed Jan 8, 2025
1 parent b5a9054 commit c024bcb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nix/containers.nix
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ frontendNpm = pkgs.buildNpmPackage rec {
npmDepsHash = "sha256-Oz7pdTMJVgGj5rzjIMvDjaOV7JU+hYLHoSSb+OcJARk=";
npmPackFlags = [ "--ignore-scripts" ];
installPhase = ''
mkdir -p $out/frontend
cp -r .next/* $out/frontend
rm -rf $out/frontend/cache
mkdir -p $out/_next
cp -r .next/* $out/_next
rm -rf $out/_next/cache
'';
};

Expand Down

0 comments on commit c024bcb

Please sign in to comment.