Ignore build data with docker-compose

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2020-08-18 15:44:13 -07:00
parent feda81f205
commit e288ee1e27
2 changed files with 4 additions and 0 deletions

View File

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

View File

@@ -5,5 +5,7 @@ services:
env_file: docker.env
volumes:
- ".:/app"
# ignore build data
- "/app/_build"
working_dir: "/app"
restart: always