mirror of
https://github.com/mitchell/shortnr.git
synced 2025-12-17 05:17:22 +00:00
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:
parent
b699e661e2
commit
1502d10cdc
8 changed files with 84 additions and 41 deletions
|
|
@ -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/ .
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue