lightspeed commited on
Commit
5d786b7
·
verified ·
1 Parent(s): 32acd5b

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +10 -5
Dockerfile CHANGED
@@ -10,10 +10,15 @@ COPY start.sh /app/start.sh
10
 
11
  WORKDIR /app
12
 
13
- # Debug: List files and permissions
14
- RUN ls -la /app && \
15
- chmod +x /app/start.sh && \
16
- ls -la /app/start.sh
 
 
 
 
 
 
17
 
18
- # Use absolute path in CMD
19
  CMD ["/app/start.sh"]
 
10
 
11
  WORKDIR /app
12
 
13
+ # Make all executables actually executable and list contents for debugging
14
+ RUN chmod +x /app/start.sh && \
15
+ chmod +x /app/gateway/gateway && \
16
+ chmod +x /app/cf5s/cf5s && \
17
+ ls -la /app/gateway && \
18
+ ls -la /app/cf5s
19
+
20
+ # Use absolute paths in start.sh
21
+ RUN echo '#!/bin/bash\ncd /app/gateway && /app/gateway/gateway &\ncd /app/cf5s && /app/cf5s/cf5s' > /app/start.sh && \
22
+ chmod +x /app/start.sh
23
 
 
24
  CMD ["/app/start.sh"]