こちらを参考に。
以下Dockerfile
FROM ubuntu:16.04
# install utilities
RUN \
apt-get update && \
apt-get install -y git curl wget screen && \
apt-get install -y build-essential libssl-dev python && \
apt-get install -y language-pack-ja
RUN \
apt-get install -y apt-file && \
apt-file update && \
apt-get install -y software-properties-common
RUN \
apt-add-repository -y ppa:ethereum/ethereum && \
apt-get update && \
apt-get install -y solc
# set locale & timezone
RUN locale-gen ja_JP.UTF-8
ENV LANG ja_JP.UTF-8
ENV LC_ALL ja_JP.UTF-8
ENV TZ Asia/Tokyo
# install remix
RUN \
curl -sL https://deb.nodesource.com/setup_7.x | bash && \
apt-get install -y nodejs
RUN git clone https://github.com/ethereum/remix-ide.git
WORKDIR /remix-ide
RUN npm install
RUN npm run setupremix
EXPOSE 8080
CMD ["npm", "start"]
ビルド
docker build -t remix:latest .
実行
docker run -p 8080:8080 remix
ブラウザで確認
http://localhost:8080/
すると、remixのヘッダーのみで中身がない状態
環境
Mac OSX10.11.6
Docker Version: 18.03.1-ce