feat: add cargo generate support

This commit is contained in:
2024-08-20 21:06:10 +03:00
parent db8f668b4b
commit 137ceedadd
8 changed files with 9 additions and 8 deletions

View File

@@ -25,7 +25,7 @@ RUN apt-get update -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /app/target/release/axum-template axum-template
COPY --from=builder /app/target/release/{{project-name}} {{project-name}}
COPY config config
ENV APP_ENVIRONMENT production
ENTRYPOINT ["./axum-template"]