* Slimming down website docker image

This commit is contained in:
shockrah 2021-08-16 17:23:50 -07:00
parent 492ec141cc
commit 435d4e59c8

View File

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