# Dockerfile FROM node:18-bullseye # create app directory WORKDIR /app # copy package files first for caching COPY package.json package-lock.json* /app/ # install dependencies RUN npm install --production # copy application code COPY . /app # ensure output dir exists # ensure output dir exists and is writable by all users RUN mkdir -p /app/output && chmod -R 777 /app/output # expose the HF/streamlit default port EXPOSE 7860 # ensure required files exist (optional) # Place your logo.png and integrity_dashboard.png at repo root CMD ["npm", "start"]