Skip to content

Commit

Permalink
Make landing page npm package and update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
sgraband committed Dec 1, 2023
1 parent 0c7de44 commit dd14452
Show file tree
Hide file tree
Showing 4 changed files with 5,650 additions and 209 deletions.
12 changes: 3 additions & 9 deletions dockerfiles/landing-page/Dockerfile.local
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,11 @@ COPY node/common/src ./common/src
COPY node/common/package.json node/common/tsconfig.json ./common/
COPY node/configs ./configs/
COPY node/tsconfig.json node/package*.json ./
COPY node/landing-page/package*.json node/landing-page/yarn.lock ./landing-page/
COPY node/landing-page/. ./landing-page/

RUN npm ci && npm run build
WORKDIR /app/common
RUN yarn link
RUN npm ci && npm run build -w common

WORKDIR /app/landing-page
RUN yarn link "@eclipse-theiacloud/common"
RUN yarn install
COPY node/landing-page/. ./
RUN yarn build:nolint
RUN npm run build:nolint -w landing-page

# production stage
FROM nginx:stable-alpine as production-stage
Expand Down
4 changes: 0 additions & 4 deletions node/landing-page/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
},
"devDependencies": {
"@types/node": "^16.18.6",
"@typescript-eslint/eslint-plugin": "^5.4.0",
"@typescript-eslint/parser": "^5.4.0",
"@vue/cli-plugin-babel": "~5.0.8",
"@vue/cli-plugin-eslint": "~5.0.8",
Expand All @@ -29,10 +28,7 @@
"@vue/eslint-config-prettier": "^6.0.0",
"@vue/eslint-config-typescript": "^9.1.0",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.0.3",
"prettier": "^2.4.1",
"typescript": "~4.5.5"
}
}
Loading

0 comments on commit dd14452

Please sign in to comment.