understanding commited on
Commit
39635a2
·
verified ·
1 Parent(s): 83e4559

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +15 -0
Dockerfile ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM node:20-alpine
2
+
3
+ WORKDIR /app
4
+
5
+ COPY package*.json ./
6
+ RUN apk add --no-cache git && \
7
+ npm cache clean --force && \
8
+ npm install -g [email protected] && \
9
+ npm install --omit=dev
10
+
11
+ COPY . .
12
+ RUN mkdir -p ./session ./downloads ./auth_info_baileys && \
13
+ chmod -R 777 ./session ./downloads ./auth_info_baileys
14
+
15
+ CMD ["node", "index.js"]