mirror of
https://github.com/friendica/docker
synced 2025-05-10 17:34:54 +02:00
18 lines
382 B
Docker
18 lines
382 B
Docker
FROM nginx:latest
|
|
|
|
RUN usermod -u 82 www-data
|
|
|
|
RUN set -ex; \
|
|
mkdir -p /var/www/html; \
|
|
mkdir -p /etc/nginx/snippets;
|
|
|
|
COPY ./templates /etc/nginx/conf.d/templates
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
|
|
COPY error-page.html /var/www/html/error-page.html
|
|
COPY custom-error-page.conf /etc/nginx/snippets/custom-error-page.conf
|
|
|
|
COPY *.sh /
|
|
RUN chmod +x /*.sh
|
|
|
|
CMD ["/cmd.sh"]
|