FROM node:18 WORKDIR /app COPY package.json ./ RUN npm install RUN npm install multer RUN npm install dotenv RUN npm install axios RUN mkdir -p /app/uploads RUN chown -R www-data /app/uploads COPY . . EXPOSE 7860 CMD [ "node", "server.js" ]