FROM node:19-slim | |
RUN apt-get update && \ | |
apt-get install -y \ | |
bash \ | |
git git-lfs \ | |
wget curl procps \ | |
htop vim nano && \ | |
rm -rf /var/lib/apt/lists/* | |
WORKDIR /app | |
COPY --link --chown=1000 ./ /app | |
RUN npm i | |
USER 1000 | |
CMD ["node", "index.js"] |