Spaces:
Runtime error
Runtime error
T1ckbase
commited on
Commit
Β·
4515f4c
1
Parent(s):
1326316
- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -4,13 +4,17 @@ FROM denoland/deno:latest
|
|
4 |
# Create working directory
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
7 |
ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
|
8 |
|
|
|
|
|
9 |
# Copy source
|
10 |
COPY . .
|
11 |
|
12 |
# Compile the main app
|
13 |
-
RUN deno cache main.ts
|
14 |
|
15 |
RUN deno -A npm:playwright install --with-deps chromium
|
16 |
|
|
|
4 |
# Create working directory
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
COPY deno.json deno.lock ./
|
8 |
+
|
9 |
ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
|
10 |
|
11 |
+
RUN Deno install
|
12 |
+
|
13 |
# Copy source
|
14 |
COPY . .
|
15 |
|
16 |
# Compile the main app
|
17 |
+
# RUN deno cache main.ts
|
18 |
|
19 |
RUN deno -A npm:playwright install --with-deps chromium
|
20 |
|