mirror of
				https://github.com/KevinMidboe/immich.git
				synced 2025-10-29 17:40:28 +00:00 
			
		
		
		
	fix(server): properly handle SIGTERM (#3350)
* use tini init * Move python into CMD * Use tini as entrypoint * Toggle executable bit * Avoid compose changes * Adapt web entrypoint
This commit is contained in:
		| @@ -22,7 +22,7 @@ ENV NODE_ENV=production | ||||
|  | ||||
| WORKDIR /usr/src/app | ||||
|  | ||||
| RUN apk add --no-cache ffmpeg imagemagick-dev libraw-dev perl vips-dev vips-heif vips-jxl vips-magick | ||||
| RUN apk add --no-cache ffmpeg imagemagick-dev libraw-dev perl tini vips-dev vips-heif vips-jxl vips-magick | ||||
|  | ||||
| COPY --from=prod /usr/src/app/node_modules ./node_modules | ||||
| COPY --from=prod /usr/src/app/dist ./dist | ||||
| @@ -39,4 +39,4 @@ VOLUME /usr/src/app/upload | ||||
|  | ||||
| EXPOSE 3001 | ||||
|  | ||||
| ENTRYPOINT ["/bin/sh"] | ||||
| ENTRYPOINT ["tini", "--", "/bin/sh"] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user