FROM node:20.4 | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN npm install --no-audit --fund false | |
COPY . . | |
RUN chown -R node:node lib/bin/* && \ | |
chmod u+x lib/bin/* && \ | |
chmod -R 777 /app | |
USER node | |
RUN ls -la | |
CMD ["node", "clewd.js"] |
FROM node:20.4 | |
WORKDIR /app | |
COPY package*.json ./ | |
RUN npm install --no-audit --fund false | |
COPY . . | |
RUN chown -R node:node lib/bin/* && \ | |
chmod u+x lib/bin/* && \ | |
chmod -R 777 /app | |
USER node | |
RUN ls -la | |
CMD ["node", "clewd.js"] |