development -> main #1

Open
Christopher.Hase wants to merge 93 commits from development into main
6 changed files with 6 additions and 4 deletions
Showing only changes of commit 09a59c2c98 - Show all commits

View file

@ -13,8 +13,8 @@ RUN npx tsc
### NEW ### ### NEW ###
RUN npm install -g http-server RUN npm install -g http-server
RUN npx tsc iching/event.ts RUN npx tsc event.ts
RUN npx tsc iching/broker.ts RUN npx tsc broker.ts
# 2. Rust build-Stage # 2. Rust build-Stage
@ -28,7 +28,8 @@ WORKDIR /app
# 4. Copy previous builds # 4. Copy previous builds
COPY --from=build /app . COPY --from=build /app .
COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching #COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching
COPY --from=rust-build /usr/local/cargo/bin /usr/local/bin
# 5. Run app # 5. Run app
#CMD ["npx", "ts-node", "broker.ts"] #CMD ["npx", "ts-node", "broker.ts"]
@ -38,4 +39,5 @@ COPY --from=rust-build /usr/local/cargo/bin/iching /usr/local/bin/iching
#CMD ["http-server", "."] #CMD ["http-server", "."]
CMD ["npx", "http-server", "iching", "-p", "8080"] #CMD ["npx", "http-server", "iching", "-p", "8080"]
CMD ["npx", "http-server", "-p", "8080"]