mirror of
https://github.com/biomejs/biome.git
synced 2025-12-23 08:21:13 +00:00
18 lines
461 B
Docker
18 lines
461 B
Docker
FROM rust:1.86.0@sha256:640960fe15de2f67cc88db7f0f547977cb759cba9eab246df29d98d02aaf24b8
|
|
WORKDIR /usr/src/
|
|
|
|
# https://github.com/nodesource/distributions
|
|
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && apt-get install -y nodejs
|
|
RUN cargo install hyperfine
|
|
|
|
COPY Cargo.toml Cargo.lock ./
|
|
COPY ./crates ./crates
|
|
COPY ./xtask ./xtask
|
|
|
|
WORKDIR /usr/src/benchmark
|
|
|
|
COPY ./benchmark .
|
|
|
|
RUN npm ci
|
|
RUN node bench.js formatter
|
|
RUN node bench.js linter
|