Leaflet Blog in Deno Fresh
1FROM denoland/deno:ubuntu
2
3WORKDIR /app
4
5COPY . .
6RUN deno cache main.ts
7RUN mkdir -p node_modules/.deno/node_modules && chmod -R 777 node_modules/.deno/node_modules
8RUN deno task build
9
10USER deno
11EXPOSE 8000
12
13CMD ["run", "--allow-read", "--allow-run", "--allow-write", "--allow-net", "main.ts"]