fix: move to npm
perso/opencode-openchamber/pipeline/head Build queued...

This commit is contained in:
Julien Cabillot
2026-04-27 16:47:29 -04:00
parent 447ec8ab99
commit e19c8c4924
2183 changed files with 25 additions and 339607 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM jcabillot/opencode:latest
ARG OPENCHAMBER_WEB_VERSION=1.9.9
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
NPM_CONFIG_LOGLEVEL=warn \
NODE_ENV=production
USER root
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 make g++ \
&& rm -rf /var/lib/apt/lists/* \
&& npm install -g --no-fund --no-audit "@openchamber/web@${OPENCHAMBER_WEB_VERSION}" \
&& openchamber --version \
&& chown -R opencode:opencode /home/opencode
WORKDIR /home/opencode/
USER opencode
EXPOSE 3000
ENTRYPOINT ["openchamber"]
CMD ["serve", "--host", "0.0.0.0", "--port", "3000", "--foreground"]