Skip to content
Snippets Groups Projects
Unverified Commit a4979fe0 authored by j0nnymoe's avatar j0nnymoe Committed by GitHub
Browse files

Merge pull request #35 from linuxserver/lockfile

update yarn instructions
parents ad8112c0 47429478
No related branches found
No related tags found
No related merge requests found
......@@ -44,9 +44,8 @@ RUN \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
yarn --production global add code-server@"$CODE_VERSION" && \
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
yarn cache clean && \
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
......
......@@ -44,9 +44,8 @@ RUN \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
yarn --production global add code-server@"$CODE_VERSION" && \
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
yarn cache clean && \
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
......
......@@ -44,9 +44,8 @@ RUN \
| awk '/tag_name/{print $4;exit}' FS='[""]'); \
fi && \
CODE_VERSION=$(echo "$CODE_RELEASE" | awk '{print substr($1,2); }') && \
yarn --production global add code-server@"$CODE_VERSION" && \
yarn --production --frozen-lockfile global add code-server@"$CODE_VERSION" && \
yarn cache clean && \
ln -s /node_modules/.bin/code-server /usr/bin/code-server && \
echo "**** clean up ****" && \
apt-get purge --auto-remove -y \
build-essential \
......
......@@ -15,7 +15,7 @@ fi
exec \
s6-setuidgid abc \
/usr/bin/code-server \
/usr/local/bin/code-server \
--bind-addr 0.0.0.0:8443 \
--user-data-dir /config/data \
--extensions-dir /config/extensions \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment