-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathDockerfile-base
42 lines (36 loc) · 939 Bytes
/
Dockerfile-base
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
FROM muccg/python-base:3.8-debian-10
MAINTAINER https://github.com/muccg/rdrf/
ENV PROJECT_NAME rdrf
ENV PROJECT_SOURCE https://github.com/muccg/rdrf.git
ENV DEPLOYMENT prod
ENV PRODUCTION 1
ENV DEBUG 0
ENV STATIC_ROOT /data/static
ENV WRITABLE_DIRECTORY /data/scratch
ENV MEDIA_ROOT /data/static/media
ENV LOG_DIRECTORY /data/log
ENV LOCALE_PATHS /data/translations/locale
ENV DJANGO_SETTINGS_MODULE rdrf.settings
RUN env | sort
# Project specific deps
RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libcairo2-dev \
gettext \
libpcre3 \
libpq5 \
mime-support \
libnode64 \
nodejs \
unixodbc \
python-ldap \
libsasl2-dev \
python-dev \
libldap2-dev \
libssl-dev \
nfs-common \
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
#RUN pip install --upgrade pip
RUN pip install zipp
#RUN pip install --upgrade "setuptools==65.2.0"
ENTRYPOINT ["/bin/sh"]