fix: copy of commons in frontend build

Signed-off-by: Tilman Vatteroth <git@tilmanvatteroth.de>
This commit is contained in:
Tilman Vatteroth 2023-09-24 17:30:59 +02:00
parent f6a6f6b086
commit f8484ca337
No known key found for this signature in database
GPG key ID: FE1CD209E3EA5E85

View file

@ -39,7 +39,6 @@ echo "🦔 > Bundling"
mv .next/standalone dist mv .next/standalone dist
mkdir -p dist/frontend/.next mkdir -p dist/frontend/.next
cp -R .next/static dist/frontend/.next/static cp -R .next/static dist/frontend/.next/static
cp next.config.js dist/frontend/next.config.js
cp -R public dist/frontend/public cp -R public dist/frontend/public
rm -f dist/frontend/.env rm -f dist/frontend/.env
rm -rf dist/frontend/public/public rm -rf dist/frontend/public/public