0

I've run into a very strange issue where a Dockerfile is failing in one of it's steps when it's built on GCP Cloud Build.

However it builds locally just fine.

What might be the cause of the issue? Why would there by any difference?

The actual command that is failing to build is a npm build within the container.

Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286

1 Answers1

0

Turned out to be a .env file that I had locally (but was not present in the repository due to a gitignore).

Chris Stryczynski
  • 30,145
  • 48
  • 175
  • 286