FTP-Deploy-Action/Dockerfile
Sam Kirkland 4f5c9578e8
Some checks failed
Test FTP Deploy / FTP-Deploy-Action (push) Failing after 1m26s
Test SFTP Deploy / FTP-Deploy-Action (push) Failing after 1m26s
Update Dockerfile
2023-02-02 02:23:26 -06:00

15 lines
432 B
Docker

FROM alpine:3.11
LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action"
LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>"
RUN apk --no-cache add curl bash git nodejs libssh2-dev build-base
RUN curl https://raw.githubusercontent.com/git-ftp/git-ftp/1.6.0/git-ftp > /bin/git-ftp
RUN chmod 755 /bin/git-ftp
COPY dist/index.js /deploy.js
RUN chmod +x deploy.js
ENTRYPOINT ["node", "../../deploy.js"]