Update Dockerfile

This commit is contained in:
Sam Kirkland 2023-02-02 02:24:51 -06:00 committed by GitHub
parent 6647c2f8ad
commit fcf34d8ffc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,12 +1,12 @@
FROM debian:stable-slim
FROM alpine:3.11
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
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