T1ckbase commited on
Commit
16b78ab
Β·
1 Parent(s): a13a5c6
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -1,24 +1,26 @@
1
  FROM denoland/deno:latest
2
 
3
- USER root
4
 
5
  # Create working directory
6
- WORKDIR /app
7
 
8
  # COPY deno.json deno.lock ./
9
 
10
- RUN chmod -R 777 /app
11
 
12
  # ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
13
- ENV PLAYWRIGHT_BROWSERS_PATH=/.cache/ms-playwright
 
 
 
 
14
 
15
  # RUN deno install
16
 
17
  # Copy source
18
  COPY . .
19
 
20
- RUN deno -A npm:playwright install --with-deps chromium
21
-
22
  # Compile the main app
23
  RUN deno cache main.ts
24
 
 
1
  FROM denoland/deno:latest
2
 
3
+ # USER root
4
 
5
  # Create working directory
6
+
7
 
8
  # COPY deno.json deno.lock ./
9
 
10
+ # RUN chmod -R 777 /app
11
 
12
  # ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
13
+ ENV PLAYWRIGHT_BROWSERS_PATH=0
14
+
15
+ RUN deno -A npm:playwright install --with-deps chromium
16
+
17
+ WORKDIR /app
18
 
19
  # RUN deno install
20
 
21
  # Copy source
22
  COPY . .
23
 
 
 
24
  # Compile the main app
25
  RUN deno cache main.ts
26