mirror of
https://github.com/planetmint/planetmint.git
synced 2025-03-30 15:08:31 +00:00
16 lines
588 B
Docker
16 lines
588 B
Docker
FROM openresty/openresty:xenial
|
|
LABEL maintainer "contact@ipdb.global"
|
|
WORKDIR /
|
|
RUN apt-get update \
|
|
&& apt-get -y upgrade \
|
|
&& apt-get autoremove \
|
|
&& apt-get clean
|
|
COPY nginx.conf.template /usr/local/openresty/nginx/conf/nginx.conf
|
|
COPY nginx.lua.template /usr/local/openresty/nginx/conf/nginx.lua
|
|
COPY nginx_openresty_entrypoint.bash /
|
|
# The following ports are the values we use to run the NGINX+3scale container.
|
|
# 80 for http, 8080 for the 3scale api, 8888 for health-check, 27017 for
|
|
# MongoDB
|
|
EXPOSE 80 8080 8888 27017
|
|
ENTRYPOINT ["/nginx_openresty_entrypoint.bash"]
|