Add a dockerfile to the benchmarks directory

This commit is contained in:
Kai Jellinghaus
2022-10-24 17:51:33 +02:00
committed by GitHub
parent 7e6f63511b
commit f548748eaf
+14
View File
@@ -0,0 +1,14 @@
FROM denoland/deno:alpine-1.26.2
WORKDIR /app
USER deno
ADD ./main.ts .
RUN deno cache --unstable main.ts
ADD ./worker.ts .
RUN deno cache --unstable worker.ts
ADD ./scraper.ts .
RUN deno cache --unstable scraper.ts
ENTRYPOINT [ "/tini", "--", "docker-entrypoint.sh", "run", "--unstable", "-A", "main.ts" ]