mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 16:31:40 +02:00
🐳 🚧 Build release images
This commit is contained in:
parent
397cbbf01c
commit
42a2a72e00
2 changed files with 3 additions and 2 deletions
|
@ -66,7 +66,7 @@ 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; \
|
ls -l backend; \
|
||||||
bash -c "/home/uxbox/backend/scripts/dist"
|
bash -c "/home/uxbox/backend/scripts/dist"
|
||||||
|
|
||||||
|
|
||||||
|
@ -89,6 +89,7 @@ RUN set -ex; \
|
||||||
mkdir -p /srv/uxbox/resources/public/media; \
|
mkdir -p /srv/uxbox/resources/public/media; \
|
||||||
mkdir -p /srv/uxbox/resources/public/static;
|
mkdir -p /srv/uxbox/resources/public/static;
|
||||||
|
|
||||||
|
|
||||||
ENV \
|
ENV \
|
||||||
# Locale setup
|
# Locale setup
|
||||||
LANG=en_US.UTF-8 LC_ALL=C.UTF-8 \
|
LANG=en_US.UTF-8 LC_ALL=C.UTF-8 \
|
||||||
|
|
|
@ -68,7 +68,7 @@ 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; \
|
ls -l frontend; \
|
||||||
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' \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue