mirror of
https://github.com/penpot/penpot.git
synced 2025-02-14 19:19:09 -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 backend source and build release
|
||||||
COPY . /home/uxbox/backend
|
COPY . /home/uxbox/backend
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
ls -l backend; \
|
rm -f Dockerfile docker-entrypoint.sh; \
|
||||||
bash -c "/home/uxbox/backend/scripts/dist"
|
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 frontend source and build release
|
||||||
COPY . /home/uxbox/frontend
|
COPY . /home/uxbox/frontend
|
||||||
RUN set -ex; \
|
RUN set -ex; \
|
||||||
ls -l frontend; \
|
rm -f Dockerfile; \
|
||||||
cd frontend; \
|
cd frontend; \
|
||||||
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; \
|
||||||
npm run dist; \
|
npm run dist; \
|
||||||
|
|
Loading…
Add table
Reference in a new issue