Skip to content

Commit

Permalink
Merge branch 'feature/djelme-dep-fix' into feature/python-upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
felliott committed Feb 22, 2024
2 parents d467dbe + b4929db commit cf8b422
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
28 changes: 14 additions & 14 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -162,19 +162,19 @@ ENV GIT_COMMIT ${GIT_COMMIT}

# TODO: Uncomment following RUN when python dependencies are ready

RUN for module in \
api.base.settings \
admin.base.settings \
; do \
export DJANGO_SETTINGS_MODULE=$module \
&& python3 manage.py collectstatic --noinput --no-init-app \
; done \
&& for file in \
./website/templates/_log_templates.mako \
./website/static/built/nodeCategories.json \
; do \
touch $file && chmod o+w $file \
; done \
&& rm ./website/settings/local.py ./api/base/settings/local.py
RUN for module in \
api.base.settings \
admin.base.settings \
; do \
export DJANGO_SETTINGS_MODULE=$module \
&& python3 manage.py collectstatic --noinput --no-init-app \
; done \
&& for file in \
./website/templates/_log_templates.mako \
./website/static/built/nodeCategories.json \
; do \
touch $file && chmod o+w $file \
; done \
&& rm ./website/settings/local.py ./api/base/settings/local.py

CMD ["su-exec", "nobody", "invoke", "--list"]
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ rdflib-jsonld==0.6.2

# Metrics
# git+https://github.com/CenterForOpenScience/[email protected]
git+https://github.com/felliott/django-elasticsearch-metrics@feature/pin-esdsl

# Impact Metrics CSV Export
djangorestframework-csv==2.1.0
Expand Down

0 comments on commit cf8b422

Please sign in to comment.