Mitchell Goldberg

@nirvana

Joined on Apr 24, 2021

  • Build image with linux platform for heroku servers. Replace {NAME_OF_HEROKU_APP} with your own tag: docker buildx build --platform linux/amd64 -t {NAME_OF_HEROKU_APP} . Tag your app with the url for your apps registry. make sure to use the name of your Heroku app in the url and tag name: docker tag {NAME_OF_HEROKU_APP} registry.heroku.com/{NAME_OF_HEROKU_APP}/web Use docker to push the image to the Heroku container registry:
     Like  Bookmark
  • Install Remote-Containers VSCode extension. This will alllow you to connect to your docker dev environment through VSCode. Open up your command pallete(command + shit + p on mac and ctrl + shift + p on windows) and type in Remote-Containers: Add Development Container Configuration Files... Click From a predefined container configuration definition... Click Python3 & Postgresql Update: .devcontainer/devcontainer.json
     Like  Bookmark
  • Week 19 Day 2 Lecture Videos 1 (15 minutes) Watch: Container Intro (12:00) docker container run (Official documentation) Usage:
     Like  Bookmark
  • What is Docker What are Docker containers? Docker containers containers are isolated containers are ephemeral containers are lightweight containers are reproducible
     Like  Bookmark