feat(build): add prod target
This commit is contained in:
parent
37a3c60a7a
commit
19b812ba0a
2 changed files with 9 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ WORKDIR /app
|
|||
|
||||
COPY . .
|
||||
|
||||
RUN cargo build --release
|
||||
RUN cargo build --profile release-lto
|
||||
|
||||
RUN rm .env
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue