From c513954671b452f03b5d6f96494ad899e3daf2fc Mon Sep 17 00:00:00 2001 From: merith-xyz Date: Mon, 11 Nov 2024 11:37:20 -0800 Subject: [PATCH] include upstream entrypoint manually --- Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e31e8b5..ff1159a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,5 +33,8 @@ RUN apt-get update && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* +## Workaround as above somehow removed the entrypoint.sh +RUN curl -o /usr/bin/entrypoint.sh https://raw.githubusercontent.com/coder/code-server/main/ci/release-image/entrypoint.sh && \ + chmod +x /usr/bin/entrypoint.sh -ENTRYPOINT ["/usr/bin/entrypoint.sh" "--bind-addr" "0.0.0.0:8080" "/workspace"] \ No newline at end of file +ENTRYPOINT ["/usr/bin/entrypoint.sh", "--bind-addr", "0.0.0.0:8080", "/workspace"] \ No newline at end of file