-
-
Notifications
You must be signed in to change notification settings - Fork 66
Open
Labels
Description
As of now my package.json build script looks like this.
"scripts": { "build": "env-cmd -e production react-scripts build", },
the problem is when I run a build through docker I get this error
code ELIFECYCLE
errno 1
env-cmd -e production react-script build
Exit status 1
failed to solve: executor failed running [/bin/sh -c npm run build]: exit code: 1
Is there anyway to use env-cmd with docker-compose?