|
@ -12,11 +12,13 @@ RUN apk add --no-cache python3 nginx tzdata && \ |
|
|
rm -f /etc/nginx/conf.d/* |
|
|
rm -f /etc/nginx/conf.d/* |
|
|
|
|
|
|
|
|
RUN mkdir -p /var/interlegis/sapl && \ |
|
|
RUN mkdir -p /var/interlegis/sapl && \ |
|
|
mkdir /var/log/gunicorn \ |
|
|
|
|
|
apk add --update --no-cache $BUILD_PACKAGES && \ |
|
|
apk add --update --no-cache $BUILD_PACKAGES && \ |
|
|
npm install -g bower && \ |
|
|
npm install -g bower && \ |
|
|
npm cache clean |
|
|
npm cache clean |
|
|
|
|
|
|
|
|
|
|
|
#RUN ln -sf /proc/self/fd/1 /var/log/gunicorn/gunicorn-access.log && \ |
|
|
|
|
|
# ln -sf /proc/self/fd/1 /var/log/gunicorn/gunicorn-error.log |
|
|
|
|
|
|
|
|
WORKDIR /var/interlegis/sapl/ |
|
|
WORKDIR /var/interlegis/sapl/ |
|
|
|
|
|
|
|
|
ADD . /var/interlegis/sapl/ |
|
|
ADD . /var/interlegis/sapl/ |
|
|