Upgrade to Pro — share decks privately, control downloads, hide ads and more …

GTB_container_work

nwiizo
June 28, 2019

 GTB_container_work

2019年のてくのろじーぶーときゃんぷ https://recruit.gmo.jp/gtb/
課題用 Github https://github.com/nwiizo/2019_gtb_container_work

nwiizo

June 28, 2019
Tweet

More Decks by nwiizo

Other Decks in Programming

Transcript

  1. ⚫ ⚫ ⚫ ⚫ https://www.docker.com/ ⚫ ⚫ ⚫ ⚫ ⚫

    ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ ⚫ https://cloud.google.com/blog/products/gcp/7-best-practices-for-building-containers https://docs.docker.com/v17.12/develop/develop-images/dockerfile_best-practices/ https://12factor.net/ja/
  2. 1. FROM golang:1.11-alpine 2. ADD . /go/src/ 3. EXPOSE 8080

    4. CMD ["/usr/local/go/bin/go", "run", "/go/src/server.go"]
  3. 1. FROM golang:1.11-alpine 2. ADD . /go/src/ 3. EXPOSE 8080

    4. CMD ["/usr/local/go/bin/go", "run", "/go/src/main.go"]
  4. • • • • • • • • • •

    • • • • • • • • • • •