Skip to content

Commit

Permalink
Group ENV statements, use recommended syntax for it
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Apr 28, 2024
1 parent d0c66e8 commit 90e2cd5
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -71,11 +71,11 @@ COPY --from=builder /opt/app/_build/prod/rel/asciinema .
RUN chgrp -R 0 /opt/app && chmod -R g=u /opt/app
COPY .iex.exs .

ENV PORT 4000
ENV ADMIN_BIND_ALL 1
ENV DATABASE_URL "postgresql://postgres@postgres/postgres"
ENV RSVG_FONT_FAMILY "Dejavu Sans Mono"
ENV PATH "/opt/app/bin:${PATH}"
ENV PORT=4000 \
ADMIN_BIND_ALL=1 \
DATABASE_URL=postgresql://postgres@postgres/postgres \
RSVG_FONT_FAMILY="Dejavu Sans Mono" \
PATH=/opt/app/bin:${PATH}

ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/opt/app/bin/server"]
Expand Down

0 comments on commit 90e2cd5

Please sign in to comment.