File size: 569 Bytes
8e66c92
 
 
 
c24939e
 
 
 
 
 
 
 
 
8e66c92
 
32acd5b
8e66c92
 
32acd5b
c24939e
 
5d786b7
 
 
32acd5b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM dairoot/grok-gateway:latest as gateway
FROM dairoot/cf5s:latest as cf5s

FROM debian:bullseye-slim

# Debug: Check the structure of base images
RUN mkdir -p /app/gateway /app/cf5s
COPY --from=gateway /app/* /app/gateway/
COPY --from=cf5s /app/* /app/cf5s/

# Debug: List contents to verify
RUN ls -la /app/gateway && \
    ls -la /app/cf5s

COPY .env /app/.env
COPY start.sh /app/start.sh

WORKDIR /app

# Make executables actually executable
RUN find /app -type f -exec chmod +x {} \; && \
    ls -la /app/gateway && \
    ls -la /app/cf5s

CMD ["/app/start.sh"]