latest dev

This commit is contained in:
_Bastler 2022-01-04 13:55:34 +01:00
parent b2ec610027
commit a9277fd977

View File

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