deno.land / x / servest@v1.3.4 / Dockerfile

FROM debian:stretch RUN apt update -y && apt install curl unzip -y ENV DENO_DIR=/deno ENV DENO_INSTALL=${DENO_DIR}/.deno ENV PATH=${DENO_INSTALL}/bin:${PATH} RUN curl -fsSL https://deno.land/x/install/install.sh | bash \ && deno -V COPY modules.json modules-lock.json /servest/ COPY ./vendor /servest/vendor COPY ./tools/fetch_dir.ts /servest/tools/fetch_dir.ts RUN deno run -A /servest/tools/fetch_dir.ts /servest/vendor COPY . /servest RUN deno run -A /servest/tools/fetch_dir.ts /servest/site WORKDIR /servest/site ENV PORT=${PORT} EXPOSE ${PORT} CMD ["deno", "run", "--allow-net", "--allow-read", "--allow-env", "/servest/site/index.ts"]
servest

Version Info

Tagged at
2 years ago