T1ckbase commited on
Commit
4477219
Β·
1 Parent(s): c3d9125
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -6,7 +6,6 @@ WORKDIR /app
6
 
7
  COPY deno.json deno.lock ./
8
 
9
- RUN chmod -R 777 /app
10
 
11
  ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
12
 
@@ -15,10 +14,12 @@ ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
15
  # Copy source
16
  COPY . .
17
 
 
 
 
 
18
  # Compile the main app
19
  RUN deno cache main.ts
20
 
21
- RUN deno -A npm:playwright install --with-deps chromium
22
-
23
  # Run the app
24
  CMD ["deno", "run", "-A", "main.ts"]
 
6
 
7
  COPY deno.json deno.lock ./
8
 
 
9
 
10
  ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
11
 
 
14
  # Copy source
15
  COPY . .
16
 
17
+ RUN deno -A npm:playwright install --with-deps chromium
18
+
19
+ RUN chmod -R 777 /app
20
+
21
  # Compile the main app
22
  RUN deno cache main.ts
23
 
 
 
24
  # Run the app
25
  CMD ["deno", "run", "-A", "main.ts"]