Lodaa / Dockerfile
understanding's picture
Create Dockerfile
39635a2 verified
raw
history blame
326 Bytes
FROM node:20-alpine
WORKDIR /app
COPY package*.json ./
RUN apk add --no-cache git && \
npm cache clean --force && \
npm install -g [email protected] && \
npm install --omit=dev
COPY . .
RUN mkdir -p ./session ./downloads ./auth_info_baileys && \
chmod -R 777 ./session ./downloads ./auth_info_baileys
CMD ["node", "index.js"]