fix for npm run in wrong directory

This commit is contained in:
Krzysztof Szumny 2015-08-20 14:53:11 +02:00
parent 266ffdf649
commit 26036319ad

View File

@ -29,9 +29,9 @@ RUN groupadd -r django && useradd -r -g django django
ADD . /app
RUN npm install -g grunt grunt-cli
RUN npm install
RUN grunt build
RUN cd /app && npm install
RUN cd /app && grunt build
RUN chown -R django /app
@ -43,4 +43,4 @@ RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
WORKDIR /app
ENTRYPOINT ["/entrypoint.sh"]
ENTRYPOINT ["/entrypoint.sh"]