refactor: app deployment

This commit is contained in:
2023-06-05 10:54:18 +02:00
parent b21833de40
commit 3b8a344d73
104 changed files with 583 additions and 13494 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM registry.gitlab.com/openstapps/projectmanagement/node:v18 as workspace
USER root
RUN apk add --update python3 py3-pip make g++ gcompat
WORKDIR app/
COPY pnpm-lock.yaml \
package.json \
pnpm-workspace.yaml ./
RUN pnpm fetch --prod
COPY backend/ backend/
COPY configuration/ configuration/
COPY examples/ examples/
COPY frontend/ frontend/
COPY packages/ packages/
RUN pnpm install -r --offline --prod