CoolFace
Apppublic

hpcompaq435/accessaudit-scanner

sourceHugging Faceupdated 4mo agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1# Playwright base image already includes a matching Chromium — no separate2# `playwright install` needed. Keep this version in sync with package.json.3FROM mcr.microsoft.com/playwright:v1.49.1-jammy4 5WORKDIR /app6COPY package*.json ./7RUN npm install8COPY . .9 10# Hugging Face Spaces (and some other hosts) run the container as UID 1000 with a11# non-writable HOME. Point caches at /tmp and make the app dir writable so tsx,12# npm, and Chromium can run without permission errors. Harmless on other hosts.13ENV HOME=/tmp \14    XDG_CACHE_HOME=/tmp/.cache \15    NPM_CONFIG_CACHE=/tmp/.npm \16    PORT=808017RUN chmod -R a+rwX /app18 19EXPOSE 808020CMD ["npm", "run", "serve"]21