Added basic documentation server
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
FROM docker.io/almalinux/9-minimal:latest
|
||||
LABEL maintainer="n0x@n0xb0x.org"
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN microdnf update -y \
|
||||
&& microdnf install -y \
|
||||
ca-certificates \
|
||||
python3 \
|
||||
python3-pip \
|
||||
&& microdnf clean all && rm -fr /tmp/* /var/tmp/* \
|
||||
&& pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 8081 80
|
||||
|
||||
WORKDIR /srv
|
||||
|
||||
CMD python -m http.server -d /srv/site 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user