removed old dirs + start dockerfile unification

This commit is contained in:
Emily
2024-09-27 21:14:23 +02:00
parent 3c77a727cd
commit 0ba44a406d
140 changed files with 35 additions and 72115 deletions

28
Dockerfile Normal file
View File

@@ -0,0 +1,28 @@
FROM node:21-alpine as base
FROM base as build
RUN npm i -g pnpm
# COPY --link dashboard/package.json dashboard/pnpm-lock.yaml ./
# RUN npm install --production=false
WORKDIR /home/app
COPY --link dashboard ./dashboard
COPY --link lyx-ui ./lyx-ui
COPY --link consumer ./consumer
COPY --link producer ./producer
COPY --link shared ./shared
WORKDIR /home/app/dashboard
RUN pnpm install
WORKDIR /home/app/consumer
RUN pnpm install
WORKDIR /home/app/producer
RUN pnpm install
# CMD [ "node", "/home/app/.output/server/index.mjs" ]