Skip to content

Instantly share code, notes, and snippets.

@straxico
Last active April 22, 2019 19:02
Show Gist options
  • Save straxico/78e8342d9605aec59f4c4c28fe5568a7 to your computer and use it in GitHub Desktop.
Save straxico/78e8342d9605aec59f4c4c28fe5568a7 to your computer and use it in GitHub Desktop.
docker build -t next-app .
docker run --rm -it -p 3000:3000/tcp next-app:latest
docker run --rm -it -p 3000:3000 -e "API_URL=https://example.com" next-app
docker system prune --volumes -f
...........................................................
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment