feat: add support for building in docker

This commit is contained in:
Darragh Elliott 2024-10-14 22:51:14 +01:00
parent 1902495abb
commit 4bc5572c1b
2 changed files with 38 additions and 0 deletions

23
Dockerfile Normal file
View File

@ -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" ]

15
docker-compose.yml Normal file
View File

@ -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