T1ckbase commited on
Commit
f17e58b
·
1 Parent(s): 70510b4
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -11,4 +11,7 @@ RUN deno install --entrypoint main.ts
11
 
12
  COPY . .
13
 
 
 
 
14
  CMD ["run", "-A", "main.ts"]
 
11
 
12
  COPY . .
13
 
14
+ # Compile the main app so that it doesn't need to be compiled each startup/entry.
15
+ RUN deno cache main.ts
16
+
17
  CMD ["run", "-A", "main.ts"]