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:
parent
e4ded8b520
commit
8984319b4f
2 changed files with 4 additions and 4 deletions
|
@ -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"
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -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; \
|
||||
|
|
Loading…
Add table
Reference in a new issue