Skip to content

Commit

Permalink
Shadow elm-stuff build artifacts from local machine.
Browse files Browse the repository at this point in the history
When build artifacts from local machine are reused in container, it
usually ends with "corrupt binary" error.

.dockerignore does not work for volumes so we define additional volume
to cover one path on existing mount:
https://stackoverflow.com/questions/29181032/add-a-volume-to-docker-but-exclude-a-sub-folder

Closes #653
  • Loading branch information
mostlyobvious committed Jul 17, 2019
1 parent 49a160a commit addf5c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ services:
volumes:
- .:/res
- gems:/usr/local/bundle
- /res/ruby_event_store-browser/elm/elm-stuff/
working_dir: /res
mysql:
image: mysql
Expand Down

0 comments on commit addf5c1

Please sign in to comment.