Compare commits
3 Commits
7f7b743f41
...
ca1c96b252
Author | SHA1 | Date | |
---|---|---|---|
ca1c96b252 | |||
d284e8184c | |||
701aae9ed4 |
16
Dockerfile
16
Dockerfile
@ -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
|
WORKDIR /app
|
||||||
COPY . .
|
|
||||||
RUN yarn
|
COPY . ./
|
||||||
RUN yarn build
|
RUN npm config set registry $NPM_REGISTRY_URL && npm i -g pnpm@8 && pnpm i
|
||||||
|
RUN pnpm build
|
||||||
|
|
||||||
# final image
|
# final image
|
||||||
FROM alpine
|
FROM registry.odit.services/library/nginx-brotli:3.15 as final
|
||||||
COPY --from=0 /app/dist /app
|
COPY --from=build /app/dist /usr/share/nginx/html
|
||||||
FROM fholzer/nginx-brotli:v1.19.1
|
|
||||||
COPY --from=1 /app /usr/share/nginx/html
|
|
||||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
COPY ./nginx.conf /etc/nginx/nginx.conf
|
5995
licenses.md
5995
licenses.md
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@ -10,20 +10,20 @@
|
|||||||
"release": "release-it --only-version"
|
"release": "release-it --only-version"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@odit/license-exporter": "^0.0.11",
|
"@odit/license-exporter": "0.0.11",
|
||||||
"@svitejs/vite-plugin-svelte": "^0.11.1",
|
"@svitejs/vite-plugin-svelte": "0.11.1",
|
||||||
"@tsconfig/svelte": "^1.0.10",
|
"@tsconfig/svelte": "1.0.10",
|
||||||
"@types/html-minifier": "^4.0.0",
|
"@types/html-minifier": "4.0.0",
|
||||||
"axios": "^0.21.1",
|
"axios": "0.21.1",
|
||||||
"html-minifier": "^4.0.0",
|
"html-minifier": "4.0.0",
|
||||||
"husky": "^5.1.3",
|
"husky": "5.1.3",
|
||||||
"prettier": "^2.2.1",
|
"prettier": "2.2.1",
|
||||||
"prettier-plugin-svelte": "^2.2.0",
|
"prettier-plugin-svelte": "2.2.0",
|
||||||
"release-it": "14.5.0",
|
"release-it": "14.5.0",
|
||||||
"svelte": "3.36.0",
|
"svelte": "3.36.0",
|
||||||
"svelte-i18n": "3.3.9",
|
"svelte-i18n": "3.3.9",
|
||||||
"svelte-preprocess": "4.7.0",
|
"svelte-preprocess": "4.7.0",
|
||||||
"validator": "^13.5.2",
|
"validator": "13.5.2",
|
||||||
"vite": "2.1.4",
|
"vite": "2.1.4",
|
||||||
"vite-plugin-windicss": "0.11.2"
|
"vite-plugin-windicss": "0.11.2"
|
||||||
},
|
},
|
||||||
|
2644
pnpm-lock.yaml
generated
Normal file
2644
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user