1
0
mirror of https://git.tuxpa.in/a/code-server.git synced 2025-01-12 10:58:45 +00:00

Minify Docker build

This commit is contained in:
Asher 2019-08-28 17:04:58 -05:00
parent c9ce9ebb2e
commit 624a4c08b9
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -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