Skip to main content
Module

x/servest/Dockerfile

🌾A progressive http server for Deno🌾
Go to Latest
File
FROM debian:stretchRUN apt update -y && apt install curl -yARG DENO_VERSION=v0.20.0RUN curl -fsSL https://deno.land/x/install/install.sh | sh -s -- ${DENO_VERSION}ENV DENO_INSTALL=/root/.denoENV PATH=${DENO_INSTALL}/bin:${PATH}COPY . /servestRUN deno fetch /servest/site/index.tsxWORKDIR /servest/siteENV PORT=${PORT}EXPOSE ${PORT}CMD ["deno", "--allow-net", "--allow-read", "--allow-env", "/servest/site/main.ts"]