Compare commits

...

3 Commits

Author SHA1 Message Date
ca1c96b252
Docker copy all 2023-03-29 20:06:46 +02:00
d284e8184c
pinned dependencies 2023-03-29 20:06:26 +02:00
701aae9ed4
Switched dockerfile over to pnpm + cache
And bumped build image to fresh node
2023-03-29 20:05:12 +02:00
4 changed files with 2663 additions and 6012 deletions

View File

@ -1,12 +1,12 @@
FROM node:15.11.0-alpine3.13
FROM registry.odit.services/hub/library/node:19.8.1-alpine3.16 as build
ARG NPM_REGISTRY_URL=https://registry.npmjs.org
WORKDIR /app
COPY . .
RUN yarn
RUN yarn build
COPY . ./
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8 && pnpm i
RUN pnpm build
# final image
FROM alpine
COPY --from=0 /app/dist /app
FROM fholzer/nginx-brotli:v1.19.1
COPY --from=1 /app /usr/share/nginx/html
FROM registry.odit.services/library/nginx-brotli:3.15 as final
COPY --from=build /app/dist /usr/share/nginx/html
COPY ./nginx.conf /etc/nginx/nginx.conf

File diff suppressed because it is too large Load Diff

View File

@ -10,20 +10,20 @@
"release": "release-it --only-version"
},
"devDependencies": {
"@odit/license-exporter": "^0.0.11",
"@svitejs/vite-plugin-svelte": "^0.11.1",
"@tsconfig/svelte": "^1.0.10",
"@types/html-minifier": "^4.0.0",
"axios": "^0.21.1",
"html-minifier": "^4.0.0",
"husky": "^5.1.3",
"prettier": "^2.2.1",
"prettier-plugin-svelte": "^2.2.0",
"@odit/license-exporter": "0.0.11",
"@svitejs/vite-plugin-svelte": "0.11.1",
"@tsconfig/svelte": "1.0.10",
"@types/html-minifier": "4.0.0",
"axios": "0.21.1",
"html-minifier": "4.0.0",
"husky": "5.1.3",
"prettier": "2.2.1",
"prettier-plugin-svelte": "2.2.0",
"release-it": "14.5.0",
"svelte": "3.36.0",
"svelte-i18n": "3.3.9",
"svelte-preprocess": "4.7.0",
"validator": "^13.5.2",
"validator": "13.5.2",
"vite": "2.1.4",
"vite-plugin-windicss": "0.11.2"
},

2644
pnpm-lock.yaml generated Normal file

File diff suppressed because it is too large Load Diff