fix: improve dev container permissions and caches

This commit is contained in:
jbwfu
2026-03-03 16:56:08 +08:00
parent 183f3ab71e
commit cd49af06dc
4 changed files with 71 additions and 24 deletions
+1 -1
View File
@@ -34,7 +34,7 @@ ENV MISE_DATA_DIR=/app/envs/mise
ENV MISE_CONFIG_DIR=/app/envs/mise
ENV PATH="/app/envs/mise/shims:/app/envs/mise/bin:$PATH"
RUN mkdir -p /go/pkg/mod /root/.npm /app/web/node_modules
ENV NPM_CONFIG_CACHE=/var/cache/npm
COPY docker/docker-entrypoint-dev.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint-dev.sh