Update Dockerfile

This commit is contained in:
Sam Kirkland 2023-02-02 01:21:34 -06:00 committed by GitHub
parent 41575a636c
commit bfc8472cf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,10 +3,8 @@ 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
RUN apt-get update \
&& apt-get install -y git git-ftp nodejs
COPY dist/index.js /deploy.js
RUN chmod +x deploy.js