Skip to main content
Module

x/servest/benchmark/Dockerfile

🌾A progressive http server for Deno🌾
Go to Latest
File
FROM debian:stretchARG DENO_VERSIONRUN apt update -y && apt install curl wrk -yENV DENO_DIR=/denoENV DENO_INSTALL=/deno/.denoENV PATH=${DENO_INSTALL}/bin:${PATH}RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s -- ${DENO_VERSION}COPY . /servestRUN deno fetch /servest/benchmark/listen_bench.ts \ && deno fetch /servest/benchmark/std_bench.ts \ && deno fetch /servest/benchmark/main.tsENV TARGET=/servest/benchmark/listen_bench.tsCMD ["deno", "-A", "/servest/benchmark/main.ts"]