FROM node:18 WORKDIR /app COPY package.json ./ RUN npm install COPY . . RUN chmod -R 777 /app EXPOSE 7860 USER root CMD node index.js && node bot.js