Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit dbe5f23

Browse filesBrowse files
committed
Fix Docker image not building
It seems to copy the entire directory to the second container for some reason and runs out of space.
1 parent 7353be4 commit dbe5f23
Copy full SHA for dbe5f23

2 files changed

+4-1Lines changed: 4 additions & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎.dockerignore‎

Copy file name to clipboardExpand all lines: .dockerignore
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ doc
99
LICENSE
1010
README.md
1111
node_modules
12+
release
Collapse file

‎Dockerfile‎

Copy file name to clipboardExpand all lines: Dockerfile
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ COPY . .
1616
RUN yarn \
1717
&& MINIFY=true yarn build "${vscodeVersion}" "${codeServerVersion}" \
1818
&& yarn binary "${vscodeVersion}" "${codeServerVersion}" \
19-
&& mv "/src/build/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64-built/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build/code-server
19+
&& mv "/src/build/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64-built/code-server${codeServerVersion}-vsc${vscodeVersion}-linux-x86_64" /src/build/code-server \
20+
&& rm -r /src/build/vscode-* \
21+
&& rm -r /src/build/code-server*-linux-*
2022

2123
# We deploy with ubuntu so that devs have a familiar environment.
2224
FROM ubuntu:18.04

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.