diff --git a/Dockerfile b/Dockerfile index f4c3c1242..e4462367f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,8 +2,8 @@ FROM php:8.3-cli-alpine RUN apk add --no-cache bash git openssh-client rsync -COPY deployer.phar /bin/deployer.phar +COPY --chmod=755 deployer.phar /bin/dep WORKDIR /app -ENTRYPOINT ["php", "/bin/deployer.phar"] +ENTRYPOINT ["/bin/dep"] diff --git a/docs/ci-cd.md b/docs/ci-cd.md index f478b6a03..e421cc15b 100755 --- a/docs/ci-cd.md +++ b/docs/ci-cd.md @@ -61,7 +61,7 @@ stages: deploy: stage: deploy image: - name: deployphp/deployer:7 + name: deployphp/deployer:v7 entrypoint: [""] before_script: - mkdir -p ~/.ssh