ci: docker depends on test, put LABEL at bottom of dockerfile

This commit is contained in:
Philippe Loctaux 2023-03-19 23:55:52 +01:00
parent 971d2f46f4
commit 4a7723a9a8
3 changed files with 7 additions and 4 deletions

View file

@ -1,5 +1,3 @@
LABEL maintainer="Philippe Loctaux <p@philippeloctaux.com>"
FROM clux/muslrust:stable as chef
USER root
RUN cargo install cargo-chef
@ -28,3 +26,5 @@ ENV ROCKET_PORT=8000
ENV ROCKET_DATABASES='{ezidam={url="/database/ezidam.sqlite"}}'
EXPOSE 8000
ENTRYPOINT ["/ezidam"]
LABEL maintainer="Philippe Loctaux <p@philippeloctaux.com>"