FROM node:23.4.0-bookworm-slim # Install app dependencies COPY package.json . COPY package-lock.json . RUN npm install # Bundle APP files COPY public/server.js . ENV NODE_ENV=production ENV NPM_CONFIG_LOGLEVEL=warn ENV DEBUG=http RUN useradd juick USER juick EXPOSE 8081 CMD ["node", "server.js"]