0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

🚧 🐳 Build release images

This commit is contained in:
mathieu.brunot 2019-02-15 00:50:47 +01:00
parent c8385c8149
commit 8e97638e15
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 1 additions and 13 deletions

View file

@ -40,12 +40,6 @@ RUN set -ex; \
cd .. && \
rm -rf ./imagemagick
RUN set -ex; \
useradd -m -g users -s /bin/bash uxbox; \
passwd uxbox -d; \
echo "uxbox ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER uxbox
WORKDIR /home/uxbox
ENV NODE_VERSION=7.7.1

View file

@ -40,12 +40,6 @@ RUN set -ex; \
cd .. && \
rm -rf ./imagemagick
RUN set -ex; \
useradd -m -g users -s /bin/bash uxbox; \
passwd uxbox -d; \
echo "uxbox ALL=(ALL) NOPASSWD:ALL" >> /etc/sudoers
USER uxbox
WORKDIR /home/uxbox
ENV NODE_VERSION=7.7.1
@ -70,7 +64,7 @@ COPY . /home/uxbox/frontend
RUN set -ex; \
rm -f Dockerfile; \
cd frontend; \
sudo sed -i \
sed -i \
-e 's|"uxbox.config.url" ".*"|"uxbox.config.url" "${API_URL}/api"|g' \
scripts/figwheel.clj; \
npm install; \