Skip to content

Commit

Permalink
try to setup swap space
Browse files Browse the repository at this point in the history
  • Loading branch information
taraspos committed Dec 10, 2024
1 parent 4b913ec commit c1f47e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions amplify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ frontend:
preBuild:
commands:
- yarn
- echo "Setting up swap space..."
- sudo fallocate -l 40G /swapfile
- sudo chmod 600 /swapfile
- sudo mkswap /swapfile
- sudo swapon /swapfile
- sudo swapon -s
- echo "✅ Done setting up swap space!"
build:
commands:
- yarn build --out-dir build//docusaurus
Expand Down

0 comments on commit c1f47e3

Please sign in to comment.