Refactor dets repo, dockerfile, and url type; add logger level func

This commit is contained in:
mitchell 2019-12-15 23:20:21 -05:00
parent faaf12ba42
commit fe413d2a5e
5 changed files with 19 additions and 6 deletions

View file

@ -1,6 +1,6 @@
FROM elixir:1.9-slim as build
WORKDIR /root/shortnr/service
WORKDIR /root/shortnr
COPY . .
RUN mix local.hex --force
@ -11,7 +11,7 @@ RUN env MIX_ENV=prod mix release
FROM debian:buster-20191014-slim
WORKDIR /home/shortnr
COPY --from=build /root/shortnr/service/_build/prod/rel/service/ .
COPY --from=build /root/shortnr/_build/prod/rel/service/ .
RUN apt-get update && apt-get install -y --no-install-recommends \
libtinfo5=6.1+20181013-2+deb10u2 \