bash miniconda.sh -b -p /opt/miniconda && \
rm miniconda.sh
ENV PATH /opt/miniconda/bin:$PATH
-RUN hash -r && \
+RUN hash -r && \
conda config --set always_yes yes --set changeps1 yes && \
conda update -q conda
# Install Aubio
RUN conda install -c thomasfillon aubio
-# Link Yaafe in site-packages
+# Link Yaafe in site-packages
RUN ln -s /usr/lib/python2.7/dist-packages/yaafelib /opt/miniconda/lib/python2.7
# Clone app
server {
listen 80;
server_name nginx;
+ charset utf-8;
- #proxy headers for additional info
- proxy_set_header HOST $host;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- #charset utf-8;;
- #access_log /var/log/nginx/log/host.access.log main;
+ access_log /var/log/nginx/app-access.log;
+ error_log /var/log/nginx/app-error.log;
# max upload size
client_max_body_size 75M; # adjust to taste
-
+
# Django media
location /media {
alias /media; # your Django project's media files - amend as required
+ autoindex on;
}
# Django static
location /static {
alias /var/www/static; # your Django project's static files - amend as required
+ autoindex on;
}
location / {
}
}
-
\ No newline at end of file