From 92c056182fd34959e27abbf33baab379fc41ae45 Mon Sep 17 00:00:00 2001 From: Sam Kirkland Date: Thu, 2 Feb 2023 02:16:08 -0600 Subject: [PATCH] Update Dockerfile --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1d37687..5f3dcc6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,15 @@ -FROM debian:11-slim - +FROM alpine:3.11 LABEL repository="https://github.com/SamKirkland/FTP-Deploy-Action" LABEL maintainer="Sam Kirkland " RUN apt-get update RUN apt-get install -y git -RUN apt-get install -y git-ftp RUN apt-get install -y nodejs +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