mirror of
https://github.com/mitchell/shortnr.git
synced 2025-12-17 05:17:22 +00:00
Impl. config based dep. injection for ets;
- Check for extant url ids - Various minor refactors
This commit is contained in:
parent
fe413d2a5e
commit
50de5607d6
12 changed files with 90 additions and 58 deletions
|
|
@ -11,7 +11,7 @@ RUN env MIX_ENV=prod mix release
|
|||
FROM debian:buster-20191014-slim
|
||||
|
||||
WORKDIR /home/shortnr
|
||||
COPY --from=build /root/shortnr/_build/prod/rel/service/ .
|
||||
COPY --from=build /root/shortnr/_build/prod/rel/shortnr/ .
|
||||
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
libtinfo5=6.1+20181013-2+deb10u2 \
|
||||
|
|
@ -29,5 +29,5 @@ RUN groupadd -r shortnr && useradd --no-log-init -r -g shortnr shortnr
|
|||
RUN chown -R shortnr:shortnr /home/shortnr
|
||||
USER shortnr
|
||||
|
||||
ENTRYPOINT ["bin/service", "start"]
|
||||
ENTRYPOINT ["bin/shortnr", "start"]
|
||||
EXPOSE 8080
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue