This repository has been archived on 2024-01-08. You can view files and clone it, but cannot push or open issues/pull-requests.
test-website-server/Dockerfile

14 lines
491 B
Docker

FROM debian:11
RUN apt-get update
RUN apt-get dist-upgrade
RUN apt-get install -y git apache2 rsync wget supervisor
WORKDIR /tmp
RUN wget https://github.com/gohugoio/hugo/releases/download/v0.111.3/hugo_extended_0.111.3_linux-amd64.deb
RUN dpkg -i hugo_*_linux-amd64.deb
RUN mkdir -p /var/lock/apache2 /var/run/apache2 /var/run/sshd /var/log/supervisor
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf
COPY builder /usr/local/bin/builder
EXPOSE 80
CMD ["/usr/bin/supervisord"]