chore: use pnpm instead of npm
This commit is contained in:
@@ -27,14 +27,18 @@ services:
|
||||
target: dev
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ../Makefile:/usr/src/app/Makefile
|
||||
- ../package.json:/usr/src/app/package.json
|
||||
- ../pnpm-lock.yaml:/usr/src/app/pnpm-lock.yaml
|
||||
- ../pnpm-workspace.yaml:/usr/src/app/pnpm-workspace.yaml
|
||||
- ../server:/usr/src/app/server
|
||||
- ../open-api:/usr/src/app/open-api
|
||||
- ${UPLOAD_LOCATION}/photos:/usr/src/app/server/upload
|
||||
- ${UPLOAD_LOCATION}/photos/upload:/usr/src/app/server/upload/upload
|
||||
- /usr/src/app/server/node_modules
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
# user: ${UID:-1000}:${GID:-1000}
|
||||
environment:
|
||||
IMMICH_REPOSITORY: immich-app/immich
|
||||
IMMICH_REPOSITORY_URL: https://github.com/immich-app/immich
|
||||
@@ -68,6 +72,7 @@ services:
|
||||
image: immich-web-dev:latest
|
||||
# Needed for rootless docker setup, see https://github.com/moby/moby/issues/45919
|
||||
# user: 0:0
|
||||
# user: ${UID:-1000}:${GID:-1000}
|
||||
build:
|
||||
context: ../
|
||||
dockerfile: web/Dockerfile
|
||||
@@ -78,11 +83,14 @@ services:
|
||||
- 3000:3000
|
||||
- 24678:24678
|
||||
volumes:
|
||||
- ../Makefile:/usr/src/app/Makefile
|
||||
- ../package.json:/usr/src/app/package.json
|
||||
- ../pnpm-lock.yaml:/usr/src/app/pnpm-lock.yaml
|
||||
- ../pnpm-workspace.yaml:/usr/src/app/pnpm-workspace.yaml
|
||||
- ../web:/usr/src/app/web
|
||||
- ../i18n:/usr/src/app/i18n
|
||||
- ../open-api/:/usr/src/app/open-api/
|
||||
- ../open-api:/usr/src/app/open-api
|
||||
# - ../../ui:/usr/ui
|
||||
- /usr/src/app/web/node_modules
|
||||
ulimits:
|
||||
nofile:
|
||||
soft: 1048576
|
||||
|
||||
Reference in New Issue
Block a user