mirror of
https://github.com/penpot/penpot.git
synced 2025-02-14 19:19:09 -05:00
🐳 💚 Fix copy of sources
This commit is contained in:
parent
aa735e52bf
commit
bc5fe6c6b8
2 changed files with 4 additions and 4 deletions
|
@ -48,11 +48,11 @@ RUN apt-get update && \
|
||||||
USER uxbox
|
USER uxbox
|
||||||
WORKDIR /home/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"
|
RUN bash -c "/home/uxbox/.local/bin/lein version"
|
||||||
|
|
||||||
# Copy backend source and build release
|
# Copy backend source and build release
|
||||||
COPY ../backend /home/uxbox/backend
|
COPY . /home/uxbox/backend
|
||||||
RUN /home/uxbox/backend/scripts/dist
|
RUN /home/uxbox/backend/scripts/dist
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -48,13 +48,13 @@ RUN apt-get update && \
|
||||||
USER uxbox
|
USER uxbox
|
||||||
WORKDIR /home/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"
|
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 ../frontend /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' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue