Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- 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 |
-
|
| 28 |
-
|
| 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"]
|