base-nginx/Dockerfile
Astound 353b0538bd
All checks were successful
release / release-default (push) Successful in 6m59s
initial import
2025-06-24 21:15:58 -05:00

17 lines
423 B
Docker

FROM docker.io/rusian/hyperbola:v0.4.4
RUN pacman -Syu --noconfirm && \
pacman -S --noconfirm nginx rsync util-linux findutils && \
pacman -Rns "$(pacman -Qtdq)" --noconfirm || true && \
pacman -Scc --noconfirm && \
mkdir -p /etc/nginx/conf.d
COPY nginx.conf /etc/nginx/nginx.conf
VOLUME ["/usr/share/nginx/html", "/etc/nginx"]
ENV NGINX_PORT=80
EXPOSE ${NGINX_PORT}
CMD ["nginx", "-g", "daemon off;"]