mirror of
https://github.com/SamKirkland/FTP-Deploy-Action.git
synced 2025-08-14 14:05:05 +00:00
Complete rewrite! Switched from LFTP to git-ftp Upload diffs based on git history by default lower case kebab argument names Migrated from shell to typescript Added FTP and SFTP tests .git-ftp-ignore and .git-ftp-include support
15 lines
363 B
Docker
15 lines
363 B
Docker
FROM debian:stable-slim
|
|
|
|
LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action"
|
|
LABEL maintainer="Sam Kirkland <FTP-Deploy-Action@samkirkland.com>"
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y git
|
|
RUN apt-get install -y git-ftp
|
|
RUN apt-get install -y nodejs
|
|
|
|
COPY dist/index.js /deploy.js
|
|
RUN chmod +x deploy.js
|
|
|
|
ENTRYPOINT ["node", "../../deploy.js"]
|