Spaces:
Runtime error
Runtime error
File size: 387 Bytes
e152268 0d799ef e152268 0d799ef 4515f4c ff12de1 0d799ef e152268 c3d9125 4515f4c e152268 0fff9b8 e152268 c3d9125 e152268 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM denoland/deno:latest
USER root
# Create working directory
WORKDIR /app
# COPY deno.json deno.lock ./
# ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
# RUN deno install
# Copy source
COPY . .
RUN deno -A npm:playwright install --with-deps chromium
# Compile the main app
RUN deno cache main.ts
# Run the app
CMD ["deno", "run", "-A", "main.ts"]
|