Could not build a docker image
Could not build a docker image
Steps to reproduce the bug
git clone https://git.scc.kit.edu/synergy.o3as/o3webapp.git
git checkout develop
Then
docker-compose build --no-cache
OR
docker build --no-cache -t app:react .
Resulting and expected behaviour
...
> example-code@0.1.0 build
> react-scripts build
sh: react-scripts: not found
ERROR: Service 'app' failed to build: The command '/bin/sh -c npm run build' returned a non-zero code: 127
Expected: the docker image is built
System Information [if necessary]
Operating system (including version): | Linux Ubuntu Mate 20.04 |