🔨 Add yarn bin to docker

This commit is contained in:
SebClem 2022-05-04 11:01:01 +02:00
parent 5158dd2a75
commit 7fc7849d96
Signed by: sebclem
GPG Key ID: 5A4308F6A359EA50
2 changed files with 7 additions and 6 deletions

View File

@ -40,7 +40,7 @@ bower_components
build/Release
# Dependency directories
node_modules/
**/node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
@ -111,9 +111,9 @@ dist
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
**/.yarn/cache
**/.yarn/unplugged
**/.yarn/build-state.yml
**/.yarn/install-state.gz
**/.pnp.*

View File

@ -15,6 +15,7 @@ RUN ln -s /usr/bin/node /usr/local/sbin/node
# Copy only package*.json
COPY rootfs/opt/nextcloud_backup/package*.json /opt/nextcloud_backup/
COPY rootfs/opt/nextcloud_backup/.yarnrc.yml /opt/nextcloud_backup/
COPY rootfs/opt/nextcloud_backup/.yarn/releases/* /opt/nextcloud_backup/.yarn/releases/
WORKDIR /opt/nextcloud_backup/