Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set up a separate javascript package
- Loading branch information
1 parent
e9ca162
commit 5b2a2cf
Showing
18 changed files
with
642 additions
and
277 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
node_modules | ||
dist | ||
|
||
# The directory Mix will write compiled artifacts to. | ||
/_build/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM elixir:1.7.3 | ||
|
||
# TODO can use this to have local changes reflected in server | ||
RUN apt-get update && apt-get install -y inotify-tools | ||
|
||
WORKDIR "/opt/app" | ||
|
||
RUN mix local.hex --force && mix local.rebar --force | ||
|
||
COPY config/* config/ | ||
COPY mix.exs mix.lock ./ | ||
RUN mix do deps.get, deps.compile | ||
|
||
COPY . ./ | ||
|
||
RUN mix compile | ||
|
||
EXPOSE 8080 | ||
|
||
CMD mix run --no-halt examples/bff.exs |
Oops, something went wrong.