Getting failed while running bitbucket-pipelines.yml in bitbucket building react application docker build
Script:-
image: hashicorp/terraform
pipelines:
branches:
master:
- step:
size: 2x
name: Build and Deploy
image: node:18
services:
- docker
script:
- while true; do echo "Memory usage in bytes:" && cat /sys/fs/cgroup/memory/memory.memsw.usage_in_bytes; sleep 2; done &
- while true; do date && ps aux && echo "" && sleep 2; done &
# Build the Docker image
- docker build -t xyz:latest .
i have increased the size: 2x still faceing same error!! inside the script