Skip to content

Commit

Permalink
Set up a separate javascript package
Browse files Browse the repository at this point in the history
  • Loading branch information
CrowdHailer committed Oct 20, 2018
1 parent e9ca162 commit 5b2a2cf
Show file tree
Hide file tree
Showing 18 changed files with 642 additions and 277 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,4 +1,5 @@
node_modules
dist

# The directory Mix will write compiled artifacts to.
/_build/
Expand Down
20 changes: 20 additions & 0 deletions Dockerfile
@@ -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

0 comments on commit 5b2a2cf

Please sign in to comment.