お世話になります。
下記のサンプルを参考にして、ElixirベースでPhoenixを立ち上げられるようにしてDockerFileを記述しているのですが、node.jsをインストールする理由が知りたいです。
他のサンプルでもインストールしている事が多く、どこで使用のタイミングがあるのかが理解できていません。
npm使用するためでしょうか?
https://gist.github.com/dogweather/a2063b37c448584ca26be8fb69ed2b29
# Elixir + Phoenix FROM elixir:1.6.1 # Install debian packages RUN apt-get update RUN apt-get install --yes build-essential inotify-tools postgresql-client # Install Phoenix packages RUN mix local.hex --force RUN mix local.rebar --force RUN mix archive.install --force https://github.com/phoenixframework/archives/raw/master/phx_new.ez # Install node RUN curl -sL https://deb.nodesource.com/setup_6.x -o nodesource_setup.sh RUN bash nodesource_setup.sh RUN apt-get install nodejs WORKDIR /app EXPOSE 4000
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
退会済みユーザー
2019/03/20 04:53