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

🐳 💚 Fix copy of sources

This commit is contained in:
mathieu.brunot 2019-02-14 13:47:19 +01:00
parent aa735e52bf
commit bc5fe6c6b8
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0
2 changed files with 4 additions and 4 deletions

View file

@ -48,11 +48,11 @@ RUN apt-get update && \
USER uxbox
WORKDIR /home/uxbox
COPY ../backend/scripts/lein /home/uxbox/.local/bin/lein
COPY ./scripts/lein /home/uxbox/.local/bin/lein
RUN bash -c "/home/uxbox/.local/bin/lein version"
# Copy backend source and build release
COPY ../backend /home/uxbox/backend
COPY . /home/uxbox/backend
RUN /home/uxbox/backend/scripts/dist

View file

@ -48,13 +48,13 @@ RUN apt-get update && \
USER uxbox
WORKDIR /home/uxbox
COPY ../frontend/scripts/lein /home/uxbox/.local/bin/lein
COPY ./scripts/lein /home/uxbox/.local/bin/lein
RUN bash -c "/home/uxbox/.local/bin/lein version"
ENV API_URL http://127.0.0.1:6060/api
# Copy frontend source and build release
COPY ../frontend /home/uxbox/frontend
COPY . /home/uxbox/frontend
RUN cd /home/uxbox/frontend; \
sed -i \
-e 's/"uxbox.config.url" ".*"/"uxbox.config.url" "${API_URL}/api"/g' \