Files
opencode-openchamber/Dockerfile
T
cloudix_mcp_server 8d1d7ac166
PR Checks / hadolint (pull_request) Successful in 8s
PR Checks / build-test (pull_request) Failing after 13s
fix: resolve hadolint lint issues (pin versions, remove redundant USER root)
2026-06-14 12:39:44 -04:00

26 lines
613 B
Docker

FROM jcabillot/opencode:1.16.2
ARG OPENCHAMBER_WEB_VERSION=1.12.3
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
NPM_CONFIG_LOGLEVEL=warn \
NODE_ENV=production
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
python3=3.12* \
make=4.3* \
g++=14.2* \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g --no-fund --no-audit "@openchamber/web@${OPENCHAMBER_WEB_VERSION}" \
&& npm cache clean --force \
&& openchamber --version
WORKDIR /home/opencode/
USER opencode
EXPOSE 3000
ENTRYPOINT ["openchamber"]
CMD ["serve", "--host", "0.0.0.0", "--port", "3000", "--foreground"]