mirror of
https://github.com/immich-app/immich.git
synced 2025-01-06 03:46:47 +01:00
20 lines
395 B
Docker
20 lines
395 B
Docker
|
FROM ghcr.io/immich-app/base-server-dev:20231109 as test
|
||
|
|
||
|
WORKDIR /usr/src/app/server
|
||
|
COPY server/package.json server/package-lock.json ./
|
||
|
RUN npm ci
|
||
|
COPY ./server/ .
|
||
|
|
||
|
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:20231109
|
||
|
|
||
|
VOLUME /usr/src/app/upload
|
||
|
|
||
|
EXPOSE 3001
|
||
|
|
||
|
ENTRYPOINT ["tini", "--", "/bin/sh"]
|