0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-13 02:28:18 -05:00

🐳 💚 Fix copy of content

This commit is contained in:
mathieu.brunot 2019-02-14 15:28:10 +01:00
parent 95035cfca3
commit 3a5368e1bd
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 2 additions and 2 deletions

View file

@ -52,7 +52,7 @@ COPY ./scripts/lein /home/uxbox/.local/bin/lein
RUN bash -c "/home/uxbox/.local/bin/lein version" RUN bash -c "/home/uxbox/.local/bin/lein version"
# Copy backend source and build release # Copy backend source and build release
COPY ./* /home/uxbox/backend COPY ./* /home/uxbox/backend/
RUN /home/uxbox/backend/scripts/dist RUN /home/uxbox/backend/scripts/dist

View file

@ -54,7 +54,7 @@ RUN bash -c "/home/uxbox/.local/bin/lein version"
ENV API_URL http://127.0.0.1:6060/api 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 cd /home/uxbox/frontend; \ RUN cd /home/uxbox/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' \