mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-07-31 10:19:54 +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
|
||||
|
||||
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"]
|
||||
|
|
Loading…
Reference in New Issue
Block a user