Permalink
Browse files

Copy binary to PATH

`nirum` couldn't be executed because nirum binary didn't be placed on
`PATH`. so use `--copy-bins` option to copy binary into `PATH`
  • Loading branch information...
admire93 committed Jul 25, 2017
1 parent 7853572 commit 48c10e43f1c76110b480caf3d83ce6ca7fc4c4c3
Showing with 1 addition and 1 deletion.
  1. +1 −1 Dockerfile
View
@@ -13,7 +13,7 @@ COPY ./stack.yaml /opt/nirum/stack.yaml
RUN stack build --only-snapshot
COPY . /opt/nirum
RUN stack build
RUN stack build --copy-bins
ENV CMD=nirum
ENTRYPOINT ["./docker-entrypoint.sh"]

0 comments on commit 48c10e4

Please sign in to comment.