kopia lustrzana https://github.com/Stopka/fedicrawl
				
				
				
			Deploy fixes
							rodzic
							
								
									f6f9d758a1
								
							
						
					
					
						commit
						4415c27b1b
					
				| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
FROM node:16-bullseye AS build
 | 
			
		||||
FROM node:18-bullseye AS build
 | 
			
		||||
ENV ELASTIC_URL='http://elastic:9200' \
 | 
			
		||||
    ELASTIC_USER='elastic' \
 | 
			
		||||
    ELASTIC_PASSWORD='' \
 | 
			
		||||
| 
						 | 
				
			
			@ -20,7 +20,7 @@ CMD npx tsc --watch
 | 
			
		|||
 | 
			
		||||
FROM node:16-bullseye AS prod
 | 
			
		||||
RUN groupadd -g 1001 nodejs
 | 
			
		||||
RUN useradd -u 1001 -g 1001 nextjs
 | 
			
		||||
RUN useradd -m -u 1001 -g 1001 nextjs
 | 
			
		||||
WORKDIR /srv
 | 
			
		||||
USER nextjs
 | 
			
		||||
COPY --from=build /srv/node_modules ./node_modules
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -21,7 +21,7 @@
 | 
			
		|||
      "devDependencies": {
 | 
			
		||||
        "@types/geoip-lite": "^1.4.1",
 | 
			
		||||
        "@types/jest": "^27.0.2",
 | 
			
		||||
        "@types/node": "^16.11.10",
 | 
			
		||||
        "@types/node": "^18.7.18",
 | 
			
		||||
        "@types/npmlog": "^4.1.3",
 | 
			
		||||
        "@typescript-eslint/eslint-plugin": "^5.4.0",
 | 
			
		||||
        "@typescript-eslint/parser": "^5.4.0",
 | 
			
		||||
| 
						 | 
				
			
			@ -1283,9 +1283,9 @@
 | 
			
		|||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@types/node": {
 | 
			
		||||
      "version": "16.11.43",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.43.tgz",
 | 
			
		||||
      "integrity": "sha512-GqWykok+3uocgfAJM8imbozrqLnPyTrpFlrryURQlw1EesPUCx5XxTiucWDSFF9/NUEXDuD4bnvHm8xfVGWTpQ==",
 | 
			
		||||
      "version": "18.7.18",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz",
 | 
			
		||||
      "integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "node_modules/@types/npmlog": {
 | 
			
		||||
| 
						 | 
				
			
			@ -8250,9 +8250,9 @@
 | 
			
		|||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "@types/node": {
 | 
			
		||||
      "version": "16.11.43",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-16.11.43.tgz",
 | 
			
		||||
      "integrity": "sha512-GqWykok+3uocgfAJM8imbozrqLnPyTrpFlrryURQlw1EesPUCx5XxTiucWDSFF9/NUEXDuD4bnvHm8xfVGWTpQ==",
 | 
			
		||||
      "version": "18.7.18",
 | 
			
		||||
      "resolved": "https://registry.npmjs.org/@types/node/-/node-18.7.18.tgz",
 | 
			
		||||
      "integrity": "sha512-m+6nTEOadJZuTPkKR/SYK3A2d7FZrgElol9UP1Kae90VVU4a6mxnPuLiIW1m4Cq4gZ/nWb9GrdVXJCoCazDAbg==",
 | 
			
		||||
      "dev": true
 | 
			
		||||
    },
 | 
			
		||||
    "@types/npmlog": {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -19,7 +19,7 @@
 | 
			
		|||
    "test:cov": "jest --coverage",
 | 
			
		||||
    "test:debug": "node --inspect-brk -r tsconfig-paths/register -r ts-node/register node_modules/.bin/jest --runInBand",
 | 
			
		||||
    "test:e2e": "jest --config ./test/jest-e2e.json",
 | 
			
		||||
    "start:deploy": "npm run migrate:deploy && npm run start"
 | 
			
		||||
    "start:deploy": "npm run start"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "@elastic/elasticsearch": "^8.2.1",
 | 
			
		||||
| 
						 | 
				
			
			@ -34,7 +34,7 @@
 | 
			
		|||
  "devDependencies": {
 | 
			
		||||
    "@types/geoip-lite": "^1.4.1",
 | 
			
		||||
    "@types/jest": "^27.0.2",
 | 
			
		||||
    "@types/node": "^16.11.10",
 | 
			
		||||
    "@types/node": "^18.7.18",
 | 
			
		||||
    "@types/npmlog": "^4.1.3",
 | 
			
		||||
    "@typescript-eslint/eslint-plugin": "^5.4.0",
 | 
			
		||||
    "@typescript-eslint/parser": "^5.4.0",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Ładowanie…
	
		Reference in New Issue