diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000000..5b61fcb187 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,23 @@ +FROM debian:bookworm-slim +RUN apt update +# Install required packages +RUN apt install --yes \ +bash \ +coreutils \ +rsync \ +xsltproc \ +libxml2-utils \ +sed \ +findutils \ +grep \ +make \ +libc-bin \ +wget \ +procps \ +python3 \ +python3-bs4 + +WORKDIR /fsfe-websites +ENTRYPOINT ["bash", "./build.sh" ] + + diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000..604224264e --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,15 @@ +services: + build: + build: . + image: fsfe-websites + container_name: fsfe-websites + command: + ports: + - 2000:2000 + - 2100:2100 + - 2200:2200 + - 2300:2300 + - 2400:2400 + - 2500:2500 + volumes: + - ./:/fsfe-websites