From 39df77c270defa600eb0c6c0426d0f30c84a298b Mon Sep 17 00:00:00 2001 From: paradust7 <102263465+paradust7@users.noreply.github.com> Date: Tue, 27 Dec 2022 21:00:27 +0000 Subject: [PATCH] Fix Dockerfile --- Dockerfile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8c7269e..84aae0f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,20 +15,9 @@ RUN \ COPY . /minetest-wasm -# Install emsdk -RUN \ - cd "$HOME" \ - && echo "Building from $(pwd)" \ - && git clone --depth 1 https://github.com/emscripten-core/emsdk.git \ - && cd emsdk \ - && ./emsdk install latest \ - && ./emsdk activate latest - # Build minetest-wasm RUN \ - cd "$HOME"/emsdk \ - && . ./emsdk_env.sh \ - && cd /minetest-wasm \ + cd /minetest-wasm \ && ls -la \ && ./install_emsdk.sh \ && ./build_all.sh