Add nasm to build step.

This commit is contained in:
Kavin 2023-07-13 01:46:25 +01:00
parent b66513c7d9
commit 5998cf2a5e
No known key found for this signature in database
GPG Key ID: 6E4598CA5C92C41F

View File

@ -4,6 +4,12 @@ WORKDIR /app/
COPY . .
RUN --mount=type=chache,target=/var/cache/apt \
apt-get update && \
apt-get install -y --no-install-recommends \
nasm && \
rm -rf /var/lib/apt/lists/*
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--mount=type=cache,target=/app/target/ \
cargo build --release && \