FROM ubuntu as builder ENV DEBIAN_FRONTEND noninteractive RUN apt-get update && apt-get install -y nginx unzip zip curl wget RUN mkdir -p /work/webroot && mkdir -p /work/download && mkdir -p /work/bin VOLUME /work/webroot VOLUME /work/download ADD gen.sh /work/bin ADD run.sh /work/bin CMD ["/bin/bash", "/work/bin/run.sh" ]