File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,9 @@ COPY . .
1717RUN yarn \
1818 && MINIFY=true GITHUB_TOKEN="${githubToken}" yarn build "${vscodeVersion}" "${codeServerVersion}" \
1919 && yarn binary "${vscodeVersion}" "${codeServerVersion}" \
20- && mv "/src/binaries/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build /code-server \
21- && rm -r /src/build/vscode-* \
22- && rm -r /src/build/code-server*-linux-*
20+ && mv "/src/binaries/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/binaries /code-server \
21+ && rm -r /src/build \
22+ && rm -r /src/source
2323
2424# We deploy with ubuntu so that devs have a familiar environment.
2525FROM ubuntu:18.04
@@ -54,7 +54,7 @@ WORKDIR /home/coder/project
5454# mount. So that they do not lose their data if they delete the container.
5555VOLUME [ "/home/coder/project" ]
5656
57- COPY --from=0 /src/build /code-server /usr/local/bin/code-server
57+ COPY --from=0 /src/binaries /code-server /usr/local/bin/code-server
5858EXPOSE 8080
5959
6060ENTRYPOINT ["dumb-init" , "code-server" , "--host" , "0.0.0.0" ]
You can’t perform that action at this time.
0 commit comments