Skip to content

Commit

Permalink
Merge branch 'master' of github.com:riverrun/bcrypt_elixir
Browse files Browse the repository at this point in the history
  • Loading branch information
riverrun committed Oct 28, 2018
2 parents 3fe01f1 + a0648ff commit 5127570
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,16 @@ For a lower-level api, see the documentation for Bcrypt.Base.
For further information about password hashing and using Bcrypt with Comeonin,
see the Comeonin [wiki](https://github.com/riverrun/comeonin/wiki).

## Docker

In order to use `bcrypt_elixir` in Docker, you will probably need to manually compile it in your Dockerfile. In order to do it on the Alpine image, you're going to need `make`, `gcc` and `libc-dev`. Add the following lines to your Dockerfile, right after `RUN mix deps.get`

```
RUN apk add --no-cache make gcc libc-dev
```

Remember to add your local `_build` and `deps` folders to `.dockerignore`, because otherwise, you'll see errors coming up.

## Deployment

See the Comeonin [deployment guide](https://github.com/riverrun/comeonin/wiki/Deployment).
Expand Down

0 comments on commit 5127570

Please sign in to comment.