📜  docker build - 任何代码示例

📅  最后修改于: 2022-03-11 15:00:13.359000             🧑  作者: Mango

代码示例6
RUN cd / && \
    git clone https://github.com/ && \
    cd /fileadmin/ && \
    bundle install && \
    rake db:migrate && \
    bundle exec rails runner "eval(File.read 'createTestUser.rb')" && \
    mkdir /pending && \
    mkdir /live && \
    chmod 777 /pending && \
    chmod 777 /live