fix(web): fix working directory in mcpedia-web wrapper script
This commit is contained in:
@@ -23,9 +23,9 @@ stdenv.mkDerivation {
|
|||||||
#!${pkgs.bash}/bin/bash
|
#!${pkgs.bash}/bin/bash
|
||||||
export NODE_ENV=production
|
export NODE_ENV=production
|
||||||
export PORT=4016
|
export PORT=4016
|
||||||
cd /home/code/mcpedia/apps/web
|
cd /home/code/mcpedia
|
||||||
rm -rf .next
|
rm -rf apps/web/.next
|
||||||
cp -r "$out/share/mcpedia-web/.next" .next
|
cp -r "$out/share/mcpedia-web/.next" apps/web/.next
|
||||||
exec "${bun}/bin/bun" run --cwd apps/web start
|
exec "${bun}/bin/bun" run --cwd apps/web start
|
||||||
EOF
|
EOF
|
||||||
chmod +x $out/bin/mcpedia-web
|
chmod +x $out/bin/mcpedia-web
|
||||||
|
|||||||
Reference in New Issue
Block a user