0
Fork 0
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:
mathieu.brunot 2019-02-14 22:45:14 +01:00
parent 397cbbf01c
commit 42a2a72e00
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 3 additions and 2 deletions

View file

@ -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 \

View file

@ -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' \