You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
336 B
Docker
11 lines
336 B
Docker
FROM d.xr.to/base
|
|
RUN xbps-remote nginx
|
|
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;"]
|