mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-08-01 02:39:48 +03:00
fix for npm run in wrong directory
This commit is contained in:
parent
266ffdf649
commit
26036319ad
|
@ -29,9 +29,9 @@ RUN groupadd -r django && useradd -r -g django django
|
||||||
ADD . /app
|
ADD . /app
|
||||||
|
|
||||||
RUN npm install -g grunt grunt-cli
|
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
|
RUN chown -R django /app
|
||||||
|
|
||||||
|
@ -43,4 +43,4 @@ RUN chmod +x /gunicorn.sh && chown django /gunicorn.sh
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
ENTRYPOINT ["/entrypoint.sh"]
|
||||||
|
|
Loading…
Reference in New Issue
Block a user