mirror of
https://github.com/penpot/penpot.git
synced 2025-01-24 15:39:50 -05:00
🐳 💚 Fix release build
This commit is contained in:
parent
3a5368e1bd
commit
e42fd1d0ce
2 changed files with 3 additions and 13 deletions
|
@ -41,19 +41,14 @@ RUN apt-get update && \
|
||||||
git clone https://github.com/creationix/nvm.git .nvm; \
|
git clone https://github.com/creationix/nvm.git .nvm; \
|
||||||
bash -c "source .nvm/nvm.sh && nvm install v7.7.1"; \
|
bash -c "source .nvm/nvm.sh && nvm install v7.7.1"; \
|
||||||
bash -c "source .nvm/nvm.sh && nvm alias default v7.7.1"; \
|
bash -c "source .nvm/nvm.sh && nvm alias default v7.7.1"; \
|
||||||
useradd -m -g users -s /bin/bash uxbox; \
|
.nvm/nvm.sh
|
||||||
passwd uxbox -d; \
|
|
||||||
echo "uxbox ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
||||||
|
|
||||||
USER uxbox
|
|
||||||
WORKDIR /home/uxbox
|
|
||||||
|
|
||||||
COPY ./scripts/lein /home/uxbox/.local/bin/lein
|
COPY ./scripts/lein /home/uxbox/.local/bin/lein
|
||||||
RUN bash -c "/home/uxbox/.local/bin/lein version"
|
RUN bash -c "/home/uxbox/.local/bin/lein version"
|
||||||
|
|
||||||
# Copy backend source and build release
|
# Copy backend source and build release
|
||||||
COPY ./* /home/uxbox/backend/
|
COPY ./* /home/uxbox/backend/
|
||||||
RUN /home/uxbox/backend/scripts/dist
|
RUN bash -c "/home/uxbox/backend/scripts/dist"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -41,12 +41,7 @@ RUN apt-get update && \
|
||||||
git clone https://github.com/creationix/nvm.git .nvm; \
|
git clone https://github.com/creationix/nvm.git .nvm; \
|
||||||
bash -c "source .nvm/nvm.sh && nvm install v7.7.1"; \
|
bash -c "source .nvm/nvm.sh && nvm install v7.7.1"; \
|
||||||
bash -c "source .nvm/nvm.sh && nvm alias default v7.7.1"; \
|
bash -c "source .nvm/nvm.sh && nvm alias default v7.7.1"; \
|
||||||
useradd -m -g users -s /bin/bash uxbox; \
|
.nvm/nvm.sh
|
||||||
passwd uxbox -d; \
|
|
||||||
echo "uxbox ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
|
|
||||||
|
|
||||||
USER uxbox
|
|
||||||
WORKDIR /home/uxbox
|
|
||||||
|
|
||||||
COPY ./scripts/lein /home/uxbox/.local/bin/lein
|
COPY ./scripts/lein /home/uxbox/.local/bin/lein
|
||||||
RUN bash -c "/home/uxbox/.local/bin/lein version"
|
RUN bash -c "/home/uxbox/.local/bin/lein version"
|
||||||
|
|
Loading…
Add table
Reference in a new issue