Skip to content

Commit 2458cde

Browse files
committed
Update source & build paths in Dockerfile
1 parent 82e2b8a commit 2458cde

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ COPY . .
1717
RUN 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.
2525
FROM 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.
5555
VOLUME [ "/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
5858
EXPOSE 8080
5959

6060
ENTRYPOINT ["dumb-init", "code-server", "--host", "0.0.0.0"]

0 commit comments

Comments
 (0)