mirror of
https://github.com/danog/code-server.git
synced 2024-11-27 12:57:13 +01:00
Minify Docker build
This commit is contained in:
parent
c9ce9ebb2e
commit
624a4c08b9
@ -14,7 +14,7 @@ WORKDIR /src
|
|||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
RUN yarn \
|
RUN yarn \
|
||||||
&& yarn build "${vscodeVersion}" "${codeServerVersion}" \
|
&& MINIFY=true yarn build "${vscodeVersion}" "${codeServerVersion}" \
|
||||||
&& yarn binary "${vscodeVersion}" "${codeServerVersion}" \
|
&& yarn binary "${vscodeVersion}" "${codeServerVersion}" \
|
||||||
&& mv "/src/build/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64-built/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build/code-server
|
&& mv "/src/build/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64-built/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build/code-server
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user