github.com/Tyktechnologies/tyk@v2.9.5+incompatible/images/hybrid/Dockerfile (about) 1 FROM debian:buster-slim 2 3 LABEL Description="Tyk Gateway docker image" Vendor="Tyk" 4 5 RUN apt-get update \ 6 && apt-get dist-upgrade -y --no-install-recommends redis-server nginx \ 7 build-essential python3-setuptools libpython3.7 curl ca-certificates \ 8 && curl https://bootstrap.pypa.io/get-pip.py | python3 \ 9 && pip3 install grpcio==1.24.0 \ 10 && apt-get purge -y build-essential \ 11 && apt-get autoremove -y \ 12 && rm -rf /root/.cache \ 13 && rm -rf /var/lib/apt/lists/* 14 15 RUN rm /etc/nginx/sites-enabled/default && rm /etc/nginx/sites-available/default 16 17 COPY images/hybrid/nginx/1_upstream.conf /etc/nginx/conf.d/ 18 COPY images/hybrid/nginx/sample.tconf /etc/nginx/sites-enabled/ 19 COPY images/hybrid/EULA.md /opt/tyk-gateway/EULA.md 20 COPY images/hybrid/entrypoint.sh /opt/tyk-gateway/entrypoint.sh 21 22 VOLUME ["/etc/nginx/sites-enabled/"] 23 24 RUN echo "** Use of the Tyk hybrid Container is subject to the End User License Agreement located in /opt/tyk-gateway/EULA.md **" 25 26 EXPOSE 8080 80 443 27 28 WORKDIR /opt/tyk-gateway/ 29 ENTRYPOINT ["./entrypoint.sh"]