From 884da8cc7890f23b6468ad513cd23f94d8225ca2 Mon Sep 17 00:00:00 2001 From: Cadey Dodrill Date: Fri, 15 Jul 2016 12:42:17 -0700 Subject: [PATCH] fix dockerfile Closes #15 --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b3e6298..38bda19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,8 +10,9 @@ ADD . /app WORKDIR /app RUN nimble update &&\ + yes | nimble build &&\ yes | nimble install &&\ - nim c -d:release --deadCodeElim:on ponyapi + cp ~/.nimble/bin/ponyapi /usr/bin/ponyapi USER r -CMD ./ponyapi +CMD /usr/bin/ponyapi