diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5458d29a7..446e162bf 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -14,7 +14,7 @@ env: otp: '25.2.2' elixir: '1.14.3' node: '18.x' - rust: '1.68.0' + rust: '1.71.0' jobs: test: @@ -35,6 +35,7 @@ jobs: env: MIX_ENV: test + CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse steps: - uses: actions/checkout@v3 diff --git a/Dockerfile b/Dockerfile index 6296f6c40..56ddcb2c3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]