Skip to content
Snippets Groups Projects
Commit e306c3d1 authored by Christian Dresen's avatar Christian Dresen
Browse files

no message

parent e52531af
No related branches found
No related tags found
No related merge requests found
...@@ -9,8 +9,7 @@ RUN apt-get update && apt-get install -y \ ...@@ -9,8 +9,7 @@ RUN apt-get update && apt-get install -y \
libjpeg-dev \ libjpeg-dev \
libsasl2-dev \ libsasl2-dev \
libldap2-dev \ libldap2-dev \
libssl-dev \ libssl-dev
nginx
# Python Packages # Python Packages
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
...@@ -29,8 +28,6 @@ RUN pip3 install \ ...@@ -29,8 +28,6 @@ RUN pip3 install \
uwsgi \ uwsgi \
--upgrade --upgrade
RUN ln -s /opt/nginx/nginx_warpinfra.conf /etc/nginx/sites-enabled/
RUN rm /etc/nginx/sites-enabled/default
RUN mkdir /opt/socket/ RUN mkdir /opt/socket/
...@@ -38,11 +35,10 @@ COPY misc/ldapdb_base.py /usr/local/lib/python3.4/dist-packages/ldapdb/backends/ ...@@ -38,11 +35,10 @@ COPY misc/ldapdb_base.py /usr/local/lib/python3.4/dist-packages/ldapdb/backends/
COPY misc/entrypoint.sh /opt/entrypoint.sh COPY misc/entrypoint.sh /opt/entrypoint.sh
ADD web /opt/warpinfra/ ADD web /opt/warpinfra/
ADD nginx /opt/nginx
EXPOSE 8000 443 80 EXPOSE 8000 443 80
VOLUME ["/opt/nginx", "/opt/warpinfra"] VOLUME ["/opt/warpinfra"]
ENTRYPOINT sh /opt/entrypoint.sh ENTRYPOINT sh /opt/entrypoint.sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment