Add HTTP wrap func and Text Encodable:

- Refactor HTTP send func
- Impl. Text Encodable for URL
- Error when url is not found
This commit is contained in:
mitchell 2020-01-01 18:11:38 -05:00
parent b699e661e2
commit 1502d10cdc
8 changed files with 84 additions and 41 deletions

View file

@ -1,4 +1,4 @@
FROM elixir:1.9-slim as build
FROM elixir:1.9 as build
WORKDIR /root/shortnr
COPY . .
@ -8,7 +8,7 @@ RUN mix local.rebar --force
RUN env MIX_ENV=prod mix release
FROM debian:buster-20191014-slim
FROM debian:stable-20191224-slim
WORKDIR /home/shortnr
COPY --from=build /root/shortnr/_build/prod/rel/shortnr/ .