parent
36cd059810
commit
884da8cc78
|
@ -10,8 +10,9 @@ ADD . /app
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN nimble update &&\
|
RUN nimble update &&\
|
||||||
|
yes | nimble build &&\
|
||||||
yes | nimble install &&\
|
yes | nimble install &&\
|
||||||
nim c -d:release --deadCodeElim:on ponyapi
|
cp ~/.nimble/bin/ponyapi /usr/bin/ponyapi
|
||||||
|
|
||||||
USER r
|
USER r
|
||||||
CMD ./ponyapi
|
CMD /usr/bin/ponyapi
|
||||||
|
|
Loading…
Reference in New Issue