0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-22 14:39:45 -05:00

⬆️ Update default nodejs version.

This commit is contained in:
Andrey Antukh 2020-03-02 16:18:39 +01:00
parent 9ec90c8bd9
commit c217f65677
3 changed files with 10 additions and 6 deletions

View file

@ -3,7 +3,7 @@ LABEL maintainer="Andrey Antukh <niwi@niwi.nz>"
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
ENV NODE_VERSION=v12.14.1 \ ENV NODE_VERSION=v12.16.1 \
CLOJURE_VERSION=1.10.1.507 \ CLOJURE_VERSION=1.10.1.507 \
LANG=en_US.UTF-8 \ LANG=en_US.UTF-8 \
LC_ALL=C.UTF-8 LC_ALL=C.UTF-8

View file

@ -6,10 +6,5 @@ source ~/.zshrc
echo "[init.sh] Setting up local permissions." echo "[init.sh] Setting up local permissions."
sudo chown -R uxbox /home/uxbox/local sudo chown -R uxbox /home/uxbox/local
echo "[init.sh] Installing node dependencies"
pushd /home/uxbox/uxbox/frontend/
npm ci
popd
echo "[init.sh] Ready!" echo "[init.sh] Ready!"
tail -f /dev/null tail -f /dev/null

View file

@ -1,5 +1,14 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
set -e;
source ~/.zshrc
echo "[start-tmux.sh] Installing node dependencies"
pushd ~/uxbox/frontend/
rm -rf node_modules;
npm ci;
popd
tmux -2 new-session -d -s uxbox tmux -2 new-session -d -s uxbox
tmux new-window -t uxbox:1 -n 'figwheel' tmux new-window -t uxbox:1 -n 'figwheel'