diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index cdb76bf..110e96b 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,10 +1,9 @@ -FROM node:16 +FROM node:18 RUN apt-get update - RUN apt-get install -y zsh -RUN yarn global add eslint +ENV NODE_OPTIONS="--max-old-space-size=16384 --openssl-legacy-provider" RUN wget https://github.com/ohmyzsh/ohmyzsh/raw/master/tools/install.sh -O - | zsh || true diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index a264c1a..f937974 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -10,5 +10,5 @@ "settings": { "terminal.integrated.shell.linux": "/bin/zsh" }, - "postCreateCommand": "yarn" + "postCreateCommand": "npm install" }