loading...

re: Dockerize Create-React-App in 3 minutes VIEW POST

FULL DISCUSSION
 

Hey unfortunettlly this doesn't work

Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in /app/yarn.lock

I have a basic CRA app, build with YARN and this is an error that I'm getting when running

docker build -t react-app .
 

It seems to be related to yarn.lock file.
Try to add this file to dockerignore file and see if it’s still happen:)

Code of Conduct Report abuse