fix dockerfile

Closes #15
This commit is contained in:
Cadey Ratio 2016-07-15 12:42:17 -07:00
parent 36cd059810
commit 884da8cc78
1 changed files with 3 additions and 2 deletions

View File

@ -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