Skip to content

Commit

Permalink
fix mix deps
Browse files Browse the repository at this point in the history
  • Loading branch information
brianpeiris committed Apr 20, 2018
1 parent ddf4b17 commit 3fc7070
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,4 @@ COPY mix.exs /ret/mix.exs
COPY mix.lock /ret/mix.lock
RUN mix local.hex --force
RUN mix local.rebar --force
RUN mix deps.get
COPY . /ret
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ services:
db:
image: postgres:10
environment:
- POSTGRES_USER: postgres
- POSTGRES_PASSWORD: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- ./tmp/db:/var/lib/postgresql/data
ret:
build: .
command: bash -c "source ~/.bashrc; pushd assets; yarn; popd; mix ecto.create; mix ecto.migrate; mix phx.server"
command: bash -c "source ~/.bashrc; pushd assets; yarn; popd; mix deps.get; mix ecto.create; mix ecto.migrate; mix phx.server"
volumes:
- .:/ret
ports:
Expand Down

0 comments on commit 3fc7070

Please sign in to comment.