Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

EOF error after npm run build

Sriram S May 25, 2023

I am trying to build docker image for multiple services. All are node js services there is no changes in bitbucket file & docker file except port number and file name.

 

Some of the services are build success. Some services throw error EOF

1 answer

0 votes
Erez Maadani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 26, 2023

Hi @Sriram S 

The EOF is sometimes a symptom of a memory issue. See here: https://community.atlassian.com/t5/Bitbucket-questions/Building-React-docker-image-fail-by-unexpected-EOF/qaq-p/947346

My pipeline builds 3 docker images and it uses service:docker:memory: 7128 and step:size: 2x. I "pay" a little extra but stopped having build image issues. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events