Commit a60c0ad2 authored by Terence Lee's avatar Terence Lee

move command to Dockerfile

parent 375e679c
......@@ -26,7 +26,6 @@ class AppRunner
@container = Docker::Container.create(
"Image" => BuildpackBuilder::TAG,
"Cmd" => ["bash", "-c", "cp -rf /src/* /app/ && /app/bin/boot"],
# Env format is [KEY1=VAL1 KEY2=VAL2]
"Env" => env.to_a.map {|i| i.join("=") },
"HostConfig" => {
......
......@@ -16,3 +16,4 @@ WORKDIR /app
COPY ./spec/support/docker/init.sh /usr/bin/init.sh
ENTRYPOINT ["/usr/bin/init.sh"]
CMD "/app/bin/boot"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment