Spaces:
Building
Building
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -45,7 +45,7 @@ COPY . .
|
|
45 |
# Create the directories as requested and set permissions to 777 (Use with caution!)
|
46 |
# WARNING: chmod 777 is a potential security risk. Grants full access to everyone.
|
47 |
RUN mkdir -p ./session ./downloads ./auth_info_baileys && \
|
48 |
-
chmod -R 777 ./session ./downloads ./auth_info_baileys
|
49 |
|
50 |
# Switch to the non-root 'node' user (still recommended for running the process)
|
51 |
USER node
|
|
|
45 |
# Create the directories as requested and set permissions to 777 (Use with caution!)
|
46 |
# WARNING: chmod 777 is a potential security risk. Grants full access to everyone.
|
47 |
RUN mkdir -p ./session ./downloads ./auth_info_baileys && \
|
48 |
+
chmod -R 777 ./session ./downloads ./auth_info_baileys
|
49 |
|
50 |
# Switch to the non-root 'node' user (still recommended for running the process)
|
51 |
USER node
|