Change how docker-compose maps volumes

Only a handful of locations are shared with the docker-compose file,
instead of the entire directory, to prevent build files from being
overwritten by root.

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-08-19 16:27:31 -07:00
parent cd16b20270
commit 0bdb3e3e81
4 changed files with 7 additions and 7 deletions

View File

@@ -21,7 +21,6 @@ ENV PATH="/root/.cargo/bin:$PATH"
RUN mkdir /app
WORKDIR /app
RUN mix local.hex --force
RUN mix local.rebar --force