grok-mirror / Dockerfile
lightspeed's picture
Upload 2 files
c24939e verified
raw
history blame contribute delete
569 Bytes
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"]