Last active
August 16, 2016 07:39
-
-
Save That-David-Guy/47b34abfaeaccd7dd5b59b7c2952f946 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
Dockerfile: | |
FROM marcelocg/phoenix:latest | |
ADD . /code/elixir_service | |
RUN cd /code/elixir_service; \ | |
# mix phoenix.new /code/elixir_service --no-ecto \ # only for brand new projects | |
mix local.hex --force \ | |
mix deps.get --force \ | |
npm install \ | |
node node_modules/brunch/bin/brunch build \ | |
EXPOSE 4000 | |
CMD "mix phoenix.server" | |
Terminal Output: | |
• docker build -t elixir_service:latest . elixir_service master ✭ ✱ | |
Sending build context to Docker daemon 25.24 MB | |
Step 1 : FROM marcelocg/phoenix:latest | |
---> 32b35dbe32a1 | |
Step 2 : ADD . /code/elixir_service | |
---> 6ef153f61fdc | |
Removing intermediate container 4008022b52d5 | |
Step 3 : RUN cd /code/elixir_service; mix local.hex --force mix deps.get --force npm install node node_modules/brunch/bin/brunch build EXPOSE 4000 | |
---> Running in ee7434e28feb | |
** (Mix) Unexpected arguments. | |
Usage: mix archive.install <path or url> | |
The command '/bin/sh -c cd /code/elixir_service; mix local.hex --force mix deps.get --force npm install node node_modules/brunch/bin/brunch build EXPOSE 4000' returned a non-zero code: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment