-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* import dockerfile from old cli * build works * rename login command * bump packages * fix login command * chore: remove axios dependency from CLI * move immich script path * can build docker * wip * wip * don't externalize sdk * can run docker * improve entrypoint * can save auth state between runs * add docs * clarify reqs * fix lint * bump alpine to 3.19 * add env files for api key * remove immich cli GHA for now * Update docs/docs/features/command-line-interface.md Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com> * remove redundant env variable check * cleanup * speling --------- Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
- Loading branch information
Showing
8 changed files
with
46 additions
and
31 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
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"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
File renamed without changes.
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