mirror of https://github.com/penpot/penpot.git
🐛 Fix frontend build (#6608)
This commit is contained in:
parent
25372c3edf
commit
8642ffba46
|
|
@ -285,7 +285,8 @@ RUN set -eux; \
|
||||||
./emsdk install $EMSCRIPTEN_VERSION; \
|
./emsdk install $EMSCRIPTEN_VERSION; \
|
||||||
./emsdk activate $EMSCRIPTEN_VERSION; \
|
./emsdk activate $EMSCRIPTEN_VERSION; \
|
||||||
rustup target add wasm32-unknown-emscripten; \
|
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.conf /etc/nginx/nginx.conf
|
||||||
COPY files/nginx-mime.types /etc/nginx/mime.types
|
COPY files/nginx-mime.types /etc/nginx/mime.types
|
||||||
|
|
|
||||||
|
|
@ -19,9 +19,6 @@ EMCC_CFLAGS="--no-entry \
|
||||||
-sEXPORTED_RUNTIME_METHODS=GL,stringToUTF8 \
|
-sEXPORTED_RUNTIME_METHODS=GL,stringToUTF8 \
|
||||||
-sEXPORT_ES6=1"
|
-sEXPORT_ES6=1"
|
||||||
|
|
||||||
EMSDK_QUIET=1 . /usr/local/emsdk/emsdk_env.sh;
|
|
||||||
. /usr/local/cargo/env
|
|
||||||
|
|
||||||
export EM_CACHE="/tmp/emsdk_cache";
|
export EM_CACHE="/tmp/emsdk_cache";
|
||||||
|
|
||||||
_CARGO_PARAMS="${@:2}";
|
_CARGO_PARAMS="${@:2}";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue