2018-11-11 22:14:01 +00:00
|
|
|
FROM d.xr.to/base
|
2019-07-23 09:55:07 +00:00
|
|
|
RUN xbps-remote nginx
|
2018-11-11 22:14:01 +00:00
|
|
|
RUN useradd -rU www -u 444
|
|
|
|
RUN install -d -o www -g www /sites
|
|
|
|
RUN chown -R www:www /var/tmp/nginx
|
|
|
|
COPY files/nginx.conf /etc/nginx/nginx.conf
|
|
|
|
COPY --chown=444:444 files/default /sites/default
|
|
|
|
COPY files/dhparam.pem /etc/nginx/dhparam.pem
|
|
|
|
EXPOSE 80/tcp 443/tcp
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|