Compare commits
8 commits
Author | SHA1 | Date | |
---|---|---|---|
3673318b75 | |||
5ec05120ac | |||
b1e8946e96 | |||
1af2c2c6da | |||
b0f410bef0 | |||
e23b71e11c | |||
83ef820f44 | |||
81bc7ff07d |
4 changed files with 22 additions and 5 deletions
|
@ -12,6 +12,8 @@ steps:
|
|||
ORG: philorg
|
||||
REGISTRY_TOKEN:
|
||||
from_secret: registry_token
|
||||
volumes:
|
||||
- pnpm:/root/.local/share/pnpm
|
||||
commands:
|
||||
- pnpm install --frozen-lockfile
|
||||
- pnpm set "//code.philo.ydns.eu/api/packages/$ORG/npm/:_authToken=$REGISTRY_TOKEN"
|
||||
|
|
|
@ -1,5 +1,20 @@
|
|||
FROM docker.io/nginx:alpine
|
||||
FROM docker.io/node:alpine as base
|
||||
|
||||
COPY ./dist /usr/share/nginx/html/oidc-test-web
|
||||
ENV PNPM_HOME="/pnpm"
|
||||
ENV PATH="$PNPM_HOME:$PATH"
|
||||
RUN corepack enable
|
||||
|
||||
|
||||
FROM base as build-stage
|
||||
|
||||
WORKDIR /app
|
||||
COPY pnpm-lock.yaml .
|
||||
RUN pnpm fetch --prod
|
||||
COPY . .
|
||||
RUN pnpm run build
|
||||
|
||||
FROM docker.io/library/nginx:alpine as production-stage
|
||||
RUN mkdir /app
|
||||
COPY --from=build-stage /app/dist /usr/share/nginx/html/oidc-test-web
|
||||
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "typescript",
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.9",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "typescript",
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.9",
|
||||
"dependencies": {
|
||||
"axios": "^1.7.9",
|
||||
"vue": "3.5.13"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "oidc-test-web",
|
||||
"version": "0.2.5",
|
||||
"version": "0.2.9",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite --port 3000",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue