Fix cp path

This commit is contained in:
Lukas Hass 2022-01-23 15:17:53 +01:00
parent 5dabd0b2f8
commit 8c1f9e1ac7
No known key found for this signature in database
GPG Key ID: 7C8CEF72C4039178

View File

@ -10,7 +10,7 @@ COPY front .
# move messages to front # move messages to front
RUN cp -r ../messages/ts-proto-generated/protos/* src/Messages/ts-proto-generated RUN cp -r ../messages/ts-proto-generated/protos/* src/Messages/ts-proto-generated
RUN sed -i 's/import { Observable } from "rxjs";/import type { Observable } from "rxjs";/g' src/Messages/ts-proto-generated/messages.ts RUN sed -i 's/import { Observable } from "rxjs";/import type { Observable } from "rxjs";/g' src/Messages/ts-proto-generated/messages.ts
RUN cp -r ../messages/JsonMessages src/Messages/JsonMessages RUN cp -r ../messages/JsonMessages/* src/Messages/JsonMessages
RUN yarn install && yarn build RUN yarn install && yarn build