-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'immich-app:main' into main
- Loading branch information
Showing
281 changed files
with
24,978 additions
and
2,553 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
FROM ghcr.io/immich-app/base-server-dev:20240130@sha256:a11ac5c56f0ccce1f218954c07c43caadf489557252ba5b9ca1c5977aaa25999 as test | ||
FROM node:20-alpine3.19 as core | ||
|
||
WORKDIR /usr/src/app/server | ||
COPY server/package.json server/package-lock.json ./ | ||
WORKDIR /usr/src/open-api/typescript-sdk | ||
COPY open-api/typescript-sdk/package*.json open-api/typescript-sdk/tsconfig*.json ./ | ||
RUN npm ci | ||
COPY ./server/ . | ||
COPY open-api/typescript-sdk/ ./ | ||
RUN npm run build | ||
|
||
WORKDIR /usr/src/app | ||
|
||
WORKDIR /usr/src/app/cli | ||
COPY cli/package.json cli/package-lock.json ./ | ||
RUN npm ci | ||
COPY ./cli/ . | ||
|
||
FROM ghcr.io/immich-app/base-server-prod:20240130@sha256:ce23a32154540b906df3c971766bcd991561c60331794e0ebb780947ac48113f | ||
|
||
VOLUME /usr/src/app/upload | ||
COPY cli . | ||
RUN npm run build | ||
|
||
EXPOSE 3001 | ||
WORKDIR /import | ||
|
||
ENTRYPOINT ["tini", "--", "/bin/sh"] | ||
ENTRYPOINT ["node", "/usr/src/app/dist"] |
Oops, something went wrong.