mirror of
https://github.com/elyby/accounts.git
synced 2024-12-03 12:10:57 +05:30
12 lines
278 B
Docker
12 lines
278 B
Docker
FROM nginx:1.11
|
|
|
|
COPY nginx.conf /etc/nginx/nginx.conf
|
|
COPY account.ely.by.conf.template /etc/nginx/conf.d/account.ely.by.conf.template
|
|
COPY run.sh /run.sh
|
|
|
|
RUN rm /etc/nginx/conf.d/default.conf \
|
|
&& chmod a+x /run.sh
|
|
|
|
ENTRYPOINT ["/run.sh"]
|
|
CMD ["nginx", "-g", "daemon off;"]
|