10884-dockerify #6
2 changed files with 6 additions and 0 deletions
|
@ -44,6 +44,7 @@ RUN addgroup -S app && adduser -S app -G app
|
||||||
ENV HOME=/home/app
|
ENV HOME=/home/app
|
||||||
ENV APP_HOME=/home/app/app
|
ENV APP_HOME=/home/app/app
|
||||||
RUN mkdir $APP_HOME
|
RUN mkdir $APP_HOME
|
||||||
|
RUN mkdir $APP_HOME/staticfiles
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
|
|
|
@ -12,4 +12,9 @@ server {
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
location /static/ {
|
||||||
|
alias /home/app/app/staticfiles/;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue