0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🚧 🐳 Build release images

This commit is contained in:
mathieu.brunot 2019-02-14 23:51:37 +01:00
parent e4ded8b520
commit 8984319b4f
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 4 additions and 4 deletions

View file

@ -66,8 +66,8 @@ ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
# Copy backend source and build release
COPY . /home/uxbox/backend
RUN set -ex; \
ls -l backend; \
bash -c "/home/uxbox/backend/scripts/dist"
rm -f Dockerfile docker-entrypoint.sh; \
bash -c "/home/uxbox/backend/scripts/dist.sh"

View file

@ -68,10 +68,10 @@ ENV API_URL http://127.0.0.1:6060/api
# Copy frontend source and build release
COPY . /home/uxbox/frontend
RUN set -ex; \
ls -l frontend; \
rm -f Dockerfile; \
cd frontend; \
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; \
npm install; \
npm run dist; \