Dockerfile 360 Bytes
Newer Older
1
FROM python:3.6.9
2 3
ENV PYTHONUNBUFFERED 1
RUN apt-get update
Zac Wood's avatar
Zac Wood committed
4
RUN apt-get install netcat python3-dev default-libmysqlclient-dev -y
5

6 7 8
# downgrade openssl security for login.gmu.edu compatibility
RUN sed -i -e 's/DEFAULT@SECLEVEL=2/DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf

9 10
RUN mkdir /go
WORKDIR /go
11 12
ADD /requirements/ /go/
RUN pip install -r base.txt
13
ADD . /go/