You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I try to connect the env values in my app that are existing under the .env-cmdrc file via the 'docker run' command:
'docker run --env-file ./.env-cmdrc -v ${pwd}\src:/app/src -d -p 3000:3000 --name react-app react-image'
And I got an Error:
'docker: poorly formatted environment: variable '"local": {' contains whitespaces.'
Has anyone encountered this issue?
The text was updated successfully, but these errors were encountered:
.env-cmdrc is not valid ENV format.
You should run container like this: docker run -v ${PWD}/.env-cmdrc:/app/.env-cmdrc:ro -v ${pwd}\src:/app/src -d -p 3000:3000 --name react-app react-image
Hi, I try to connect the env values in my app that are existing under the .env-cmdrc file via the 'docker run' command:
'docker run --env-file ./.env-cmdrc -v ${pwd}\src:/app/src -d -p 3000:3000 --name react-app react-image'
And I got an Error:
'docker: poorly formatted environment: variable '"local": {' contains whitespaces.'
Has anyone encountered this issue?
The text was updated successfully, but these errors were encountered: