17 lines
423 B
Docker
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;"]
|