Skip to main content
Module

x/dext/example/Dockerfile

The Preact Framework for Deno
Latest
File
FROM hayd/alpine-deno:1.7.5 as builderWORKDIR /appRUN deno cache --unstable https://deno.land/x/dext@0.10.5/cli.tsCOPY deps.ts deps.tsCOPY tsconfig.json tsconfig.jsonRUN deno cache -c tsconfig.json deps.tsCOPY . .RUN deno run --allow-read --allow-write --allow-env --allow-net --allow-run --unstable https://deno.land/x/dext@0.10.5/cli.ts build
FROM hayd/alpine-deno:1.7.5WORKDIR /appRUN deno cache --unstable https://deno.land/x/dext@0.10.5/cli.tsCOPY --from=builder /app/.dext /app/.dextCMD [ "deno", "run", "--allow-read", "--allow-net", "--allow-env", "--unstable", "https://deno.land/x/dext@0.10.5/cli.ts", "start" ]