Skip to content

High performance self-hosted photo and video management solution.

fix(server): correct immich-cli symlink in Immich docker image (#21318)

Sergey Katsubob21084b851ee
diff --git a/server/Dockerfile b/server/Dockerfile
index a554e19406..9fa401dbdd 100644
--- a/server/Dockerfile
+++ b/server/Dockerfile
@@ -125,7 +125,7 @@ ENV NODE_ENV=production \
COPY --from=server-prod /output/server-pruned ./server
COPY --from=web-prod /usr/src/app/web/build /build/www
COPY --from=cli-prod /output/cli-pruned ./cli
-RUN ln -s ./cli/bin/immich server/bin/immich
+RUN ln -s ../../cli/bin/immich server/bin/immich
COPY LICENSE /licenses/LICENSE.txt
COPY LICENSE /LICENSE