mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-15 22:21:20 +00:00
- add ccs docker subcommands for up, down, status, update, logs, and config - bundle integrated docker assets and remote ssh deployment support - add executor regression tests and root help/router coverage Refs #812
24 lines
561 B
Docker
24 lines
561 B
Docker
FROM eceasy/cli-proxy-api:latest
|
|
|
|
ARG CCS_NPM_VERSION=latest
|
|
|
|
RUN apk add --no-cache \
|
|
curl \
|
|
jq \
|
|
nodejs \
|
|
npm \
|
|
supervisor
|
|
|
|
RUN npm install -g @kaitranntt/ccs@${CCS_NPM_VERSION} \
|
|
&& ln -sf /usr/local/lib/node_modules/@kaitranntt/ccs/dist/docker/docker-bootstrap.js /usr/local/bin/ccs-docker-bootstrap
|
|
|
|
COPY supervisord.conf /etc/supervisord.conf
|
|
COPY entrypoint-integrated.sh /entrypoint-integrated.sh
|
|
|
|
RUN chmod +x /entrypoint-integrated.sh \
|
|
&& mkdir -p /var/log/ccs
|
|
|
|
EXPOSE 3000 8085 8317
|
|
|
|
ENTRYPOINT ["/entrypoint-integrated.sh"]
|