diff --git a/website/Dockerfile b/website/Dockerfile index 3911b7c..2106efd 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,12 +1,9 @@ FROM debian:sid-slim MAINTAINER Alejandro Santillana alejandros714@protonmail.com -# Relevant to actually building static websites -RUN apt-get update && apt-get install -y git pandoc hugo -# For more easily logging into ionos -RUN apt-get install -y sshpass -RUN apt-get install -y curl +# For building and deploying to the VPS's and neocities +RUN apt-get update && \ + apt-get install -y pandoc hugo curl --no-install-recommends && \ + rm -rf var/lib/{apt,dpkg,cache,log}/ + -RUN git clone https://gitlab.com/shockrah/site-generator /tmp/gensite -RUN cd /tmp/gensite && ./install.sh g -RUN rm -rf /tmp/gensite