Files
opencode-openchamber/Dockerfile
T
renovate 90fabf2064
renovate/stability-days Updates have met minimum release age requirement
CI Shared Jobs / hadolint (pull_request) Successful in 9s
CI Shared Jobs / build-test (pull_request) Successful in 2m47s
PR Checks / ci (pull_request) Successful in 2m56s
chore(deps): update dependency @openchamber/web to v2.3.3
2026-10-18 00:15:36 +00:00

31 lines
834 B
Docker

# `vX.Y.Z-latest` = the vX.Y.Z release rebuilt nightly by perso/opencode's cron job
# (fresh Debian/npm packages); the bare `latest` tag stays frozen at the last release.
FROM jcabillot/opencode:v0.0.60-latest
ARG OPENCHAMBER_WEB_VERSION=2.3.3
ENV NPM_CONFIG_UPDATE_NOTIFIER=false \
NPM_CONFIG_LOGLEVEL=warn \
NODE_ENV=production
# hadolint ignore=DL4006
USER root
# hadolint ignore=DL3008
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}" \
&& 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"]