RUN apk add --no-cache nodejs=16.17.1-r0
RUN apk add --no-cache alpine-sdk libstdc++ libc6-compat npm libx11-dev libxkbfile-dev libsecret-dev && \
npm config set unsafe-perm true && \
npm config set registry https://registry.npmmirror.com && \
npm install -g code-server
ENTRYPOINT ["code-server", "--auth", "none", "--bind-addr", "0.0.0.0:8080"]