mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 20:00:33 +00:00
24 lines
479 B
Docker
24 lines
479 B
Docker
FROM nginx:1.11
|
|
|
|
RUN mkdir /etc/nginx/sites-available && rm /etc/nginx/conf.d/default.conf
|
|
ADD nginx.conf /etc/nginx/
|
|
|
|
COPY scripts /root/scripts/
|
|
COPY certs /etc/ssl/
|
|
|
|
COPY sites /etc/nginx/templates
|
|
|
|
ARG WEB_REVERSE_PROXY_PORT=3000
|
|
ARG WEB_SSL=false
|
|
ARG SELF_SIGNED=false
|
|
ARG NO_DEFAULT=false
|
|
|
|
ENV WEB_REVERSE_PROXY_PORT=$WEB_REVERSE_PROXY_PORT
|
|
ENV WEB_SSL=$WEB_SSL
|
|
ENV SELF_SIGNED=$SELF_SIGNED
|
|
ENV NO_DEFAULT=$NO_DEFAULT
|
|
|
|
RUN /bin/bash /root/scripts/build-nginx.sh
|
|
|
|
CMD nginx
|