Open2

Dockerfileを本番と開発で共用にしたい。

Satoshi TodakaSatoshi Todaka

本番環境のコンテナの中身

➜  heroku run ls    
Running ls on ⬢ warm-shore-94051... up, run.8106 (Free)
Dockerfile    Procfile.dev  app     config.ru           entrypoint.sh  node_modules       public              tmp
Gemfile       README.md     bin     db                  lib            package.json       storage             vendor
Gemfile.lock  Rakefile      config  docker-compose.yml  log            postcss.config.js  tailwind.config.js  yarn.lock
➜  heroku run ls node_modules
Running ls node_modules on ⬢ warm-shore-94051... up, run.9849 (Free)
@hotwired          chokidar                esbuild-darwin-64  is-extglob       picomatch                reusify
@nodelib           color                   escalade           is-glob          pify                     run-parallel
@rails             color-convert           fast-glob          is-number        postcss                  simple-swizzle
acorn              color-name              fastparse          lilconfig        postcss-import           source-map-js
acorn-node         color-string            fastq              merge2           postcss-js               supports-preserve-symlinks-flag
acorn-walk         css-selector-tokenizer  fill-range         micromatch       postcss-load-config      tailwindcss
anymatch           cssesc                  fraction.js        minimist         postcss-nested           to-regex-range
arg                daisyui                 fsevents           nanoid           postcss-selector-parser  update-browserslist-db
autoprefixer       defined                 function-bind      node-releases    postcss-value-parser     util-deprecate
binary-extensions  detective               glob-parent        normalize-path   queue-microtask          xtend
braces             didyoumean              has                normalize-range  quick-lru                yaml
browserslist       dlv                     is-arrayish        object-hash      read-cache
camelcase-css      electron-to-chromium    is-binary-path     path-parse       readdirp
caniuse-lite       esbuild                 is-core-module     picocolors       resolve