fixed nextcloud upload dockerfile

This commit is contained in:
Ell 2023-07-17 19:15:47 +02:00
parent 54c83fcee0
commit 7b97b3e734
2 changed files with 5 additions and 4 deletions

View file

@ -4,7 +4,7 @@
settings:
repo: ellpeck/woodpecker-nextcloud-upload
dockerfile: nextcloud-upload/Dockerfile
platforms: linux/amd64, linux/arm/v7, linux/arm64/v8
platforms: linux/amd64, linux/arm/v7, linux/arm64/v8, linux/ppc64le, linux/riscv64
tags: latest, ${CI_COMMIT_SHA}
username: ellpeck
password:

View file

@ -1,4 +1,5 @@
FROM node:latest
ADD . /
FROM --platform=$BUILDPLATFORM node:latest
WORKDIR /bin
ADD . /bin
RUN npm install
ENTRYPOINT ["node", "/run.js"]
ENTRYPOINT ["node", "run.js"]