Skip to main content
Module

x/fastro/templates/docker.ts

Fast and simple web application framework for deno
Go to Latest
File
import { DENO_VERSION, FASTRO_VERSION } from "../core/types.ts";
export const docker = `FROM fastro/docker:${DENO_VERSION}WORKDIR /appUSER denoCOPY . ./RUN deno cache https://raw.fastro.dev/v${FASTRO_VERSION}/mod.ts && \\ deno cache https://raw.fastro.dev/v${FASTRO_VERSION}/deps.ts && \\ deno cache main.ts && \\ deno cache services/hello.controller.ts && \\ deno cache middleware/support.tsCMD ["run", "-A", "main.ts"]`;