Spaces:
Runtime error
Runtime error
File size: 492 Bytes
e152268 16b78ab e152268 16b78ab e152268 0d799ef 4515f4c 16b78ab ff12de1 0d799ef 91a35c0 16b78ab e152268 c3d9125 4515f4c 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 26 27 28 29 30 |
FROM denoland/deno:latest
# USER root
# Create working directory
# COPY deno.json deno.lock ./
# RUN chmod -R 777 /app
# ENV PLAYWRIGHT_BROWSERS_PATH=/app/node_modules/playwright/.local-browsers
ENV PLAYWRIGHT_BROWSERS_PATH=/ms-playwright
# ENV PLAYWRIGHT_BROWSERS_PATH=0
RUN deno -A npm:playwright install --with-deps chromium
WORKDIR /app
# RUN deno install
# Copy source
COPY . .
# Compile the main app
RUN deno cache main.ts
# Run the app
CMD ["deno", "run", "-A", "main.ts"]
|