📜  docker for elixir - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:17.381000             🧑  作者: Mango

代码示例1
FROM bitwalker/alpine-elixir-phoenix:latest

WORKDIR /app

COPY mix.exs .
COPY mix.lock .

RUN mkdir assets

COPY assets/package.json assets
COPY assets/package-lock.json assets

CMD mix deps.get && cd assets && npm install && cd .. && mix phx.server