From a9277fd9776bea678b7d0427bb72d461db2f9cac Mon Sep 17 00:00:00 2001 From: _Bastler <_Bastler@bstly.de> Date: Tue, 4 Jan 2022 13:55:34 +0100 Subject: [PATCH] latest dev --- front/Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/front/Dockerfile b/front/Dockerfile index 831de1ef..2f1846a0 100644 --- a/front/Dockerfile +++ b/front/Dockerfile @@ -11,10 +11,10 @@ COPY front/yarn.lock front/package.json ./ RUN yarn install --ignore-engines -COPY --chown=docker:docker front . -COPY --from=messages --chown=docker:docker /usr/src/ts-proto-generated/protos /var/www/html/src/Messages/ts-proto-generated +COPY front . +COPY --from=messages /usr/src/ts-proto-generated/protos /var/www/html/src/Messages/ts-proto-generated RUN sed -i 's/import { Observable } from "rxjs";/import type { Observable } from "rxjs";/g' /var/www/html/src/Messages/ts-proto-generated/messages.ts -COPY --from=messages --chown=docker:docker /usr/src/JsonMessages /var/www/html/src/Messages/JsonMessages +COPY --from=messages /usr/src/JsonMessages /var/www/html/src/Messages/JsonMessages # passing arguments as environment ARG DEBUG_MODE