Use appname for static path.

parent 760cb6af
......@@ -32,7 +32,10 @@ WORKDIR /
ENV UWSGI_GID root
ENV UWSGI_UID root
ENV UWSGI_MODULE failmap_admin.wsgi
ENV UWSGI_STATIC_MAP /static=/srv/failmap_admin/static
ENV UWSGI_STATIC_MAP /static=/srv/failmap-admin/static
# expose static files
VOLUME /srv/failmap-admin/
RUN /pyenv/bin/failmap-admin collectstatic
......
......@@ -187,7 +187,7 @@ LOCALE_PATHS = ['locale']
STATIC_URL = '/static/'
# Absolute path to aggregate to and serve static file from.
STATIC_ROOT = '/srv/failmap_admin/static/'
STATIC_ROOT = '/srv/failmap-admin/static/'
TEST_RUNNER = 'failmap_admin.testrunner.PytestTestRunner'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment