mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 15:51:37 -05:00
🚧 🐳 Build release images
This commit is contained in:
parent
c8385c8149
commit
8e97638e15
2 changed files with 1 additions and 13 deletions
|
@ -40,12 +40,6 @@ RUN set -ex; \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf ./imagemagick
|
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
|
WORKDIR /home/uxbox
|
||||||
|
|
||||||
ENV NODE_VERSION=7.7.1
|
ENV NODE_VERSION=7.7.1
|
||||||
|
|
|
@ -40,12 +40,6 @@ RUN set -ex; \
|
||||||
cd .. && \
|
cd .. && \
|
||||||
rm -rf ./imagemagick
|
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
|
WORKDIR /home/uxbox
|
||||||
|
|
||||||
ENV NODE_VERSION=7.7.1
|
ENV NODE_VERSION=7.7.1
|
||||||
|
@ -70,7 +64,7 @@ COPY . /home/uxbox/frontend
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
rm -f Dockerfile; \
|
rm -f Dockerfile; \
|
||||||
cd frontend; \
|
cd frontend; \
|
||||||
sudo sed -i \
|
sed -i \
|
||||||
-e 's|"uxbox.config.url" ".*"|"uxbox.config.url" "${API_URL}/api"|g' \
|
-e 's|"uxbox.config.url" ".*"|"uxbox.config.url" "${API_URL}/api"|g' \
|
||||||
scripts/figwheel.clj; \
|
scripts/figwheel.clj; \
|
||||||
npm install; \
|
npm install; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue