🐛 Fix frontend build (#6608)

This commit is contained in:
Alejandro Alonso 2025-06-02 12:03:08 +02:00 committed by GitHub
parent 25372c3edf
commit 8642ffba46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 4 deletions

View file

@ -285,7 +285,8 @@ RUN set -eux; \
./emsdk install $EMSCRIPTEN_VERSION; \
./emsdk activate $EMSCRIPTEN_VERSION; \
rustup target add wasm32-unknown-emscripten; \
cargo install cargo-watch;
cargo install cargo-watch; \
chown -R penpot:users $CARGO_HOME;
COPY files/nginx.conf /etc/nginx/nginx.conf
COPY files/nginx-mime.types /etc/nginx/mime.types

View file

@ -19,9 +19,6 @@ EMCC_CFLAGS="--no-entry \
-sEXPORTED_RUNTIME_METHODS=GL,stringToUTF8 \
-sEXPORT_ES6=1"
EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
. /usr/local/cargo/env
export EM_CACHE="/tmp/emsdk_cache";
_CARGO_PARAMS="${@:2}";