julien-c HF staff commited on
Commit
bbc4435
1 Parent(s): 62cfd2a

Final try ?

Browse files
Files changed (4) hide show
  1. Dockerfile +2 -2
  2. package-lock.json +226 -0
  3. package.json +1 -0
  4. svelte.config.js +1 -1
Dockerfile CHANGED
@@ -11,6 +11,6 @@ RUN npm i
11
 
12
  RUN chown -R 1000:1000 /app
13
 
14
- # RUN npm run build
15
 
16
- CMD ["npm", "run", "preview", "--", "--port", "7860"]
 
11
 
12
  RUN chown -R 1000:1000 /app
13
 
14
+ RUN npm run build
15
 
16
+ CMD ["PORT=7860", "node", "build"]
package-lock.json CHANGED
@@ -12,6 +12,7 @@
12
  },
13
  "devDependencies": {
14
  "@sveltejs/adapter-auto": "^2.0.0",
 
15
  "@sveltejs/kit": "^1.5.0",
16
  "@typescript-eslint/eslint-plugin": "^5.45.0",
17
  "@typescript-eslint/parser": "^5.45.0",
@@ -506,6 +507,150 @@
506
  "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==",
507
  "dev": true
508
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
509
  "node_modules/@sveltejs/adapter-auto": {
510
  "version": "2.0.0",
511
  "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-2.0.0.tgz",
@@ -518,6 +663,21 @@
518
  "@sveltejs/kit": "^1.0.0"
519
  }
520
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
521
  "node_modules/@sveltejs/kit": {
522
  "version": "1.7.1",
523
  "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.7.1.tgz",
@@ -589,6 +749,12 @@
589
  "integrity": "sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==",
590
  "dev": true
591
  },
 
 
 
 
 
 
592
  "node_modules/@types/json-schema": {
593
  "version": "7.0.11",
594
  "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
@@ -607,6 +773,12 @@
607
  "integrity": "sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==",
608
  "dev": true
609
  },
 
 
 
 
 
 
610
  "node_modules/@types/sass": {
611
  "version": "1.43.1",
612
  "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.43.1.tgz",
@@ -945,6 +1117,18 @@
945
  "node": "*"
946
  }
947
  },
 
 
 
 
 
 
 
 
 
 
 
 
948
  "node_modules/busboy": {
949
  "version": "1.6.0",
950
  "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
@@ -1039,6 +1223,12 @@
1039
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1040
  "dev": true
1041
  },
 
 
 
 
 
 
1042
  "node_modules/concat-map": {
1043
  "version": "0.0.1",
1044
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
@@ -1417,6 +1607,12 @@
1417
  "node": ">=4.0"
1418
  }
1419
  },
 
 
 
 
 
 
1420
  "node_modules/esutils": {
1421
  "version": "2.0.3",
1422
  "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
@@ -1750,6 +1946,21 @@
1750
  "node": ">=8"
1751
  }
1752
  },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1753
  "node_modules/is-core-module": {
1754
  "version": "2.11.0",
1755
  "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
@@ -1783,6 +1994,12 @@
1783
  "node": ">=0.10.0"
1784
  }
1785
  },
 
 
 
 
 
 
1786
  "node_modules/is-number": {
1787
  "version": "7.0.0",
1788
  "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
@@ -1801,6 +2018,15 @@
1801
  "node": ">=8"
1802
  }
1803
  },
 
 
 
 
 
 
 
 
 
1804
  "node_modules/isexe": {
1805
  "version": "2.0.0",
1806
  "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
 
12
  },
13
  "devDependencies": {
14
  "@sveltejs/adapter-auto": "^2.0.0",
15
+ "@sveltejs/adapter-node": "^1.2.0",
16
  "@sveltejs/kit": "^1.5.0",
17
  "@typescript-eslint/eslint-plugin": "^5.45.0",
18
  "@typescript-eslint/parser": "^5.45.0",
 
507
  "integrity": "sha512-a5Sab1C4/icpTZVzZc5Ghpz88yQtGOyNqYXcZgOssB2uuAr+wF/MvN6bgtW32q7HHrvBki+BsZ0OuNv6EV3K9g==",
508
  "dev": true
509
  },
510
+ "node_modules/@rollup/plugin-commonjs": {
511
+ "version": "24.0.1",
512
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-commonjs/-/plugin-commonjs-24.0.1.tgz",
513
+ "integrity": "sha512-15LsiWRZk4eOGqvrJyu3z3DaBu5BhXIMeWnijSRvd8irrrg9SHpQ1pH+BUK4H6Z9wL9yOxZJMTLU+Au86XHxow==",
514
+ "dev": true,
515
+ "dependencies": {
516
+ "@rollup/pluginutils": "^5.0.1",
517
+ "commondir": "^1.0.1",
518
+ "estree-walker": "^2.0.2",
519
+ "glob": "^8.0.3",
520
+ "is-reference": "1.2.1",
521
+ "magic-string": "^0.27.0"
522
+ },
523
+ "engines": {
524
+ "node": ">=14.0.0"
525
+ },
526
+ "peerDependencies": {
527
+ "rollup": "^2.68.0||^3.0.0"
528
+ },
529
+ "peerDependenciesMeta": {
530
+ "rollup": {
531
+ "optional": true
532
+ }
533
+ }
534
+ },
535
+ "node_modules/@rollup/plugin-commonjs/node_modules/brace-expansion": {
536
+ "version": "2.0.1",
537
+ "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz",
538
+ "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==",
539
+ "dev": true,
540
+ "dependencies": {
541
+ "balanced-match": "^1.0.0"
542
+ }
543
+ },
544
+ "node_modules/@rollup/plugin-commonjs/node_modules/glob": {
545
+ "version": "8.1.0",
546
+ "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz",
547
+ "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==",
548
+ "dev": true,
549
+ "dependencies": {
550
+ "fs.realpath": "^1.0.0",
551
+ "inflight": "^1.0.4",
552
+ "inherits": "2",
553
+ "minimatch": "^5.0.1",
554
+ "once": "^1.3.0"
555
+ },
556
+ "engines": {
557
+ "node": ">=12"
558
+ },
559
+ "funding": {
560
+ "url": "https://github.com/sponsors/isaacs"
561
+ }
562
+ },
563
+ "node_modules/@rollup/plugin-commonjs/node_modules/magic-string": {
564
+ "version": "0.27.0",
565
+ "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.27.0.tgz",
566
+ "integrity": "sha512-8UnnX2PeRAPZuN12svgR9j7M1uWMovg/CEnIwIG0LFkXSJJe4PdfUGiTGl8V9bsBHFUtfVINcSyYxd7q+kx9fA==",
567
+ "dev": true,
568
+ "dependencies": {
569
+ "@jridgewell/sourcemap-codec": "^1.4.13"
570
+ },
571
+ "engines": {
572
+ "node": ">=12"
573
+ }
574
+ },
575
+ "node_modules/@rollup/plugin-commonjs/node_modules/minimatch": {
576
+ "version": "5.1.6",
577
+ "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz",
578
+ "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==",
579
+ "dev": true,
580
+ "dependencies": {
581
+ "brace-expansion": "^2.0.1"
582
+ },
583
+ "engines": {
584
+ "node": ">=10"
585
+ }
586
+ },
587
+ "node_modules/@rollup/plugin-json": {
588
+ "version": "6.0.0",
589
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-json/-/plugin-json-6.0.0.tgz",
590
+ "integrity": "sha512-i/4C5Jrdr1XUarRhVu27EEwjt4GObltD7c+MkCIpO2QIbojw8MUs+CCTqOphQi3Qtg1FLmYt+l+6YeoIf51J7w==",
591
+ "dev": true,
592
+ "dependencies": {
593
+ "@rollup/pluginutils": "^5.0.1"
594
+ },
595
+ "engines": {
596
+ "node": ">=14.0.0"
597
+ },
598
+ "peerDependencies": {
599
+ "rollup": "^1.20.0||^2.0.0||^3.0.0"
600
+ },
601
+ "peerDependenciesMeta": {
602
+ "rollup": {
603
+ "optional": true
604
+ }
605
+ }
606
+ },
607
+ "node_modules/@rollup/plugin-node-resolve": {
608
+ "version": "15.0.1",
609
+ "resolved": "https://registry.npmjs.org/@rollup/plugin-node-resolve/-/plugin-node-resolve-15.0.1.tgz",
610
+ "integrity": "sha512-ReY88T7JhJjeRVbfCyNj+NXAG3IIsVMsX9b5/9jC98dRP8/yxlZdz7mHZbHk5zHr24wZZICS5AcXsFZAXYUQEg==",
611
+ "dev": true,
612
+ "dependencies": {
613
+ "@rollup/pluginutils": "^5.0.1",
614
+ "@types/resolve": "1.20.2",
615
+ "deepmerge": "^4.2.2",
616
+ "is-builtin-module": "^3.2.0",
617
+ "is-module": "^1.0.0",
618
+ "resolve": "^1.22.1"
619
+ },
620
+ "engines": {
621
+ "node": ">=14.0.0"
622
+ },
623
+ "peerDependencies": {
624
+ "rollup": "^2.78.0||^3.0.0"
625
+ },
626
+ "peerDependenciesMeta": {
627
+ "rollup": {
628
+ "optional": true
629
+ }
630
+ }
631
+ },
632
+ "node_modules/@rollup/pluginutils": {
633
+ "version": "5.0.2",
634
+ "resolved": "https://registry.npmjs.org/@rollup/pluginutils/-/pluginutils-5.0.2.tgz",
635
+ "integrity": "sha512-pTd9rIsP92h+B6wWwFbW8RkZv4hiR/xKsqre4SIuAOaOEQRxi0lqLke9k2/7WegC85GgUs9pjmOjCUi3In4vwA==",
636
+ "dev": true,
637
+ "dependencies": {
638
+ "@types/estree": "^1.0.0",
639
+ "estree-walker": "^2.0.2",
640
+ "picomatch": "^2.3.1"
641
+ },
642
+ "engines": {
643
+ "node": ">=14.0.0"
644
+ },
645
+ "peerDependencies": {
646
+ "rollup": "^1.20.0||^2.0.0||^3.0.0"
647
+ },
648
+ "peerDependenciesMeta": {
649
+ "rollup": {
650
+ "optional": true
651
+ }
652
+ }
653
+ },
654
  "node_modules/@sveltejs/adapter-auto": {
655
  "version": "2.0.0",
656
  "resolved": "https://registry.npmjs.org/@sveltejs/adapter-auto/-/adapter-auto-2.0.0.tgz",
 
663
  "@sveltejs/kit": "^1.0.0"
664
  }
665
  },
666
+ "node_modules/@sveltejs/adapter-node": {
667
+ "version": "1.2.0",
668
+ "resolved": "https://registry.npmjs.org/@sveltejs/adapter-node/-/adapter-node-1.2.0.tgz",
669
+ "integrity": "sha512-j0nxkrNZ4zBkOIOtqHUET5l8qvcFo64xNL2xv8F1QICkz746o5DVCGaJEPC3B2X2fTklXExxe80yXZhf38p6zg==",
670
+ "dev": true,
671
+ "dependencies": {
672
+ "@rollup/plugin-commonjs": "^24.0.0",
673
+ "@rollup/plugin-json": "^6.0.0",
674
+ "@rollup/plugin-node-resolve": "^15.0.1",
675
+ "rollup": "^3.7.0"
676
+ },
677
+ "peerDependencies": {
678
+ "@sveltejs/kit": "^1.0.0"
679
+ }
680
+ },
681
  "node_modules/@sveltejs/kit": {
682
  "version": "1.7.1",
683
  "resolved": "https://registry.npmjs.org/@sveltejs/kit/-/kit-1.7.1.tgz",
 
749
  "integrity": "sha512-COUnqfB2+ckwXXSFInsFdOAWQzCCx+a5hq2ruyj+Vjund94RJQd4LG2u9hnvJrTgunKAaax7ancBYlDrNYxA0g==",
750
  "dev": true
751
  },
752
+ "node_modules/@types/estree": {
753
+ "version": "1.0.0",
754
+ "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.0.tgz",
755
+ "integrity": "sha512-WulqXMDUTYAXCjZnk6JtIHPigp55cVtDgDrO2gHRwhyJto21+1zbVCtOYB2L1F9w4qCQ0rOGWBnBe0FNTiEJIQ==",
756
+ "dev": true
757
+ },
758
  "node_modules/@types/json-schema": {
759
  "version": "7.0.11",
760
  "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.11.tgz",
 
773
  "integrity": "sha512-SnHmG9wN1UVmagJOnyo/qkk0Z7gejYxOYYmaAwr5u2yFYfsupN3sg10kyzN8Hep/2zbHxCnsumxOoRIRMBwKCg==",
774
  "dev": true
775
  },
776
+ "node_modules/@types/resolve": {
777
+ "version": "1.20.2",
778
+ "resolved": "https://registry.npmjs.org/@types/resolve/-/resolve-1.20.2.tgz",
779
+ "integrity": "sha512-60BCwRFOZCQhDncwQdxxeOEEkbc5dIMccYLwbxsS4TUNeVECQ/pBJ0j09mrHOl/JJvpRPGwO9SvE4nR2Nb/a4Q==",
780
+ "dev": true
781
+ },
782
  "node_modules/@types/sass": {
783
  "version": "1.43.1",
784
  "resolved": "https://registry.npmjs.org/@types/sass/-/sass-1.43.1.tgz",
 
1117
  "node": "*"
1118
  }
1119
  },
1120
+ "node_modules/builtin-modules": {
1121
+ "version": "3.3.0",
1122
+ "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-3.3.0.tgz",
1123
+ "integrity": "sha512-zhaCDicdLuWN5UbN5IMnFqNMhNfo919sH85y2/ea+5Yg9TsTkeZxpL+JLbp6cgYFS4sRLp3YV4S6yDuqVWHYOw==",
1124
+ "dev": true,
1125
+ "engines": {
1126
+ "node": ">=6"
1127
+ },
1128
+ "funding": {
1129
+ "url": "https://github.com/sponsors/sindresorhus"
1130
+ }
1131
+ },
1132
  "node_modules/busboy": {
1133
  "version": "1.6.0",
1134
  "resolved": "https://registry.npmjs.org/busboy/-/busboy-1.6.0.tgz",
 
1223
  "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
1224
  "dev": true
1225
  },
1226
+ "node_modules/commondir": {
1227
+ "version": "1.0.1",
1228
+ "resolved": "https://registry.npmjs.org/commondir/-/commondir-1.0.1.tgz",
1229
+ "integrity": "sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==",
1230
+ "dev": true
1231
+ },
1232
  "node_modules/concat-map": {
1233
  "version": "0.0.1",
1234
  "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
 
1607
  "node": ">=4.0"
1608
  }
1609
  },
1610
+ "node_modules/estree-walker": {
1611
+ "version": "2.0.2",
1612
+ "resolved": "https://registry.npmjs.org/estree-walker/-/estree-walker-2.0.2.tgz",
1613
+ "integrity": "sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==",
1614
+ "dev": true
1615
+ },
1616
  "node_modules/esutils": {
1617
  "version": "2.0.3",
1618
  "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz",
 
1946
  "node": ">=8"
1947
  }
1948
  },
1949
+ "node_modules/is-builtin-module": {
1950
+ "version": "3.2.1",
1951
+ "resolved": "https://registry.npmjs.org/is-builtin-module/-/is-builtin-module-3.2.1.tgz",
1952
+ "integrity": "sha512-BSLE3HnV2syZ0FK0iMA/yUGplUeMmNz4AW5fnTunbCIqZi4vG3WjJT9FHMy5D69xmAYBHXQhJdALdpwVxV501A==",
1953
+ "dev": true,
1954
+ "dependencies": {
1955
+ "builtin-modules": "^3.3.0"
1956
+ },
1957
+ "engines": {
1958
+ "node": ">=6"
1959
+ },
1960
+ "funding": {
1961
+ "url": "https://github.com/sponsors/sindresorhus"
1962
+ }
1963
+ },
1964
  "node_modules/is-core-module": {
1965
  "version": "2.11.0",
1966
  "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.11.0.tgz",
 
1994
  "node": ">=0.10.0"
1995
  }
1996
  },
1997
+ "node_modules/is-module": {
1998
+ "version": "1.0.0",
1999
+ "resolved": "https://registry.npmjs.org/is-module/-/is-module-1.0.0.tgz",
2000
+ "integrity": "sha512-51ypPSPCoTEIN9dy5Oy+h4pShgJmPCygKfyRCISBI+JoWT/2oJvK8QPxmwv7b/p239jXrm9M1mlQbyKJ5A152g==",
2001
+ "dev": true
2002
+ },
2003
  "node_modules/is-number": {
2004
  "version": "7.0.0",
2005
  "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz",
 
2018
  "node": ">=8"
2019
  }
2020
  },
2021
+ "node_modules/is-reference": {
2022
+ "version": "1.2.1",
2023
+ "resolved": "https://registry.npmjs.org/is-reference/-/is-reference-1.2.1.tgz",
2024
+ "integrity": "sha512-U82MsXXiFIrjCK4otLT+o2NA2Cd2g5MLoOVXUZjIOhLurrRxpEXzI8O0KZHr3IjLvlAH1kTPYSuqer5T9ZVBKQ==",
2025
+ "dev": true,
2026
+ "dependencies": {
2027
+ "@types/estree": "*"
2028
+ }
2029
+ },
2030
  "node_modules/isexe": {
2031
  "version": "2.0.0",
2032
  "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz",
package.json CHANGED
@@ -13,6 +13,7 @@
13
  },
14
  "devDependencies": {
15
  "@sveltejs/adapter-auto": "^2.0.0",
 
16
  "@sveltejs/kit": "^1.5.0",
17
  "@typescript-eslint/eslint-plugin": "^5.45.0",
18
  "@typescript-eslint/parser": "^5.45.0",
 
13
  },
14
  "devDependencies": {
15
  "@sveltejs/adapter-auto": "^2.0.0",
16
+ "@sveltejs/adapter-node": "^1.2.0",
17
  "@sveltejs/kit": "^1.5.0",
18
  "@typescript-eslint/eslint-plugin": "^5.45.0",
19
  "@typescript-eslint/parser": "^5.45.0",
svelte.config.js CHANGED
@@ -1,4 +1,4 @@
1
- import adapter from '@sveltejs/adapter-auto';
2
  import { vitePreprocess } from '@sveltejs/kit/vite';
3
 
4
  /** @type {import('@sveltejs/kit').Config} */
 
1
+ import adapter from '@sveltejs/adapter-node';
2
  import { vitePreprocess } from '@sveltejs/kit/vite';
3
 
4
  /** @type {import('@sveltejs/kit').Config} */