ci: collect statics when building image

This commit is contained in:
Jennifer Richards 2024-04-12 18:22:06 -03:00 committed by Nicolas Giard
parent 8a4fcf7024
commit 48f908020f
2 changed files with 2 additions and 3 deletions

View file

@ -27,6 +27,8 @@ RUN yarn rebuild && \
yarn build && \
yarn legacy:build
RUN echo "yes" | /bin/bash dev/build/collectstatics.sh
RUN mkdir -p /a
VOLUME [ "/a" ]

View file

@ -6,9 +6,6 @@ echo "Running Datatracker checks..."
echo "Running Datatracker migrations..."
./ietf/manage.py migrate --settings=settings_local
echo "Running collectstatic..."
./ietf/manage.py collectstatic --no-input
echo "Starting Datatracker..."
gunicorn \