Skip to content

Instantly share code, notes, and snippets.

@kunokdev
Created December 16, 2018 17:33
Show Gist options
  • Save kunokdev/c23680dbb5e7167b0416bf052c1e9bcc to your computer and use it in GitHub Desktop.
Save kunokdev/c23680dbb5e7167b0416bf052c1e9bcc to your computer and use it in GitHub Desktop.
Build, run and push container
docker build . -t kunokdev/cra-runtime-environment-variables
docker run -p 3000:80 -e API_URL=https://staging.api.com -t kunokdev/cra-runtime-environment-variables
docker push -t kunokdev/cra-runtime-environment-variables
@maxfarseer
Copy link

docker push -t
Are you sure we need -t here? It's probably a typo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment