dev-mode-explorers/dev-mode-javascript
4
1FROM node:19-slim2 3RUN apt-get update && \4 apt-get install -y \5 bash \6 git git-lfs \7 wget curl procps \8 htop vim nano && \9 rm -rf /var/lib/apt/lists/*10 11# The base image already creates a user with 1000, no need to call useradd12# RUN useradd -m -u 1000 user13USER 100014WORKDIR /app15 16COPY --chown=1000 ./ /app17RUN npm i18 19CMD ["node", "index.js"]