understanding commited on
Commit
3a35017
·
verified ·
1 Parent(s): 1d1af3f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -24,8 +24,8 @@ RUN npm install --omit=dev
24
  # Copy the rest of the bot's code into the container
25
  COPY . .
26
 
27
- # This declares that the auth_info folder is for persistent data
28
- VOLUME /app/auth_info_baileys
29
 
30
  # The command to run when the container starts
31
  CMD ["npm", "start"]
 
24
  # Copy the rest of the bot's code into the container
25
  COPY . .
26
 
27
+ RUN mkdir -p ./session ./downloads ./auth_info_baileys && \
28
+ chmod -R 777 ./session ./downloads ./auth_info_baileys
29
 
30
  # The command to run when the container starts
31
  CMD ["npm", "start"]