Spaces:
Runtime error
Runtime error
File size: 346 Bytes
e152268 232b9c6 e152268 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
FROM denoland/deno:latest
# Create working directory
WORKDIR /app
ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
# Copy source
COPY . .
RUN deno -A npm:playwright install --with-deps chromium
# Compile the main app
RUN deno cache main.ts
RUN chmod -R 777 /app
# Run the app
CMD ["deno", "run", "-A", "main.ts"]
|