NitinBot002 commited on
Commit
0859abb
·
verified ·
1 Parent(s): 66b09a3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -199,6 +199,8 @@ ENV WAHA_GOWS_PATH=/app/gows
199
  ENV WAHA_GOWS_SOCKET=/tmp/gows.sock
200
 
201
  COPY entrypoint.sh /entrypoint.sh
 
 
202
 
203
  # Chokidar options to monitor file changes
204
  ENV CHOKIDAR_USEPOLLING=1
@@ -211,4 +213,4 @@ ENV WAHA_ZIPPER=ZIPUNZIP
211
  EXPOSE 3000
212
  # Use tini as init system to handle zombie processes properly
213
  ENTRYPOINT ["/usr/bin/tini", "--"]
214
- CMD ["/entrypoint.sh"]
 
199
  ENV WAHA_GOWS_SOCKET=/tmp/gows.sock
200
 
201
  COPY entrypoint.sh /entrypoint.sh
202
+ # Fix: Add execute permissions to entrypoint.sh
203
+ RUN chmod +x /entrypoint.sh
204
 
205
  # Chokidar options to monitor file changes
206
  ENV CHOKIDAR_USEPOLLING=1
 
213
  EXPOSE 3000
214
  # Use tini as init system to handle zombie processes properly
215
  ENTRYPOINT ["/usr/bin/tini", "--"]
216
+ CMD ["/entrypoint.sh"]