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