Update path to built binary in Dockerfile

This commit is contained in:
Asher 2019-10-21 10:56:20 -05:00
parent 4cd2f2cd52
commit fdb2308c62
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -17,7 +17,7 @@ COPY . .
RUN yarn \ RUN yarn \
&& MINIFY=true GITHUB_TOKEN="${githubToken}" yarn build "${vscodeVersion}" "${codeServerVersion}" \ && MINIFY=true GITHUB_TOKEN="${githubToken}" 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/binaries/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build/code-server \
&& rm -r /src/build/vscode-* \ && rm -r /src/build/vscode-* \
&& rm -r /src/build/code-server*-linux-* && rm -r /src/build/code-server*-linux-*