mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 08:20:45 -05: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 ./* /home/uxbox/backend/
|
||||
RUN set -ex; \
|
||||
ls -l; \
|
||||
ls -l backend; \
|
||||
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/static;
|
||||
|
||||
|
||||
ENV \
|
||||
# Locale setup
|
||||
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 ./* /home/uxbox/frontend/
|
||||
RUN set -ex; \
|
||||
ls - l; \
|
||||
ls -l frontend; \
|
||||
cd frontend; \
|
||||
sed -i \
|
||||
-e 's/"uxbox.config.url" ".*"/"uxbox.config.url" "${API_URL}/api"/g' \
|
||||
|
|
Loading…
Reference in a new issue