ci: collect statics when building image
This commit is contained in:
parent
8a4fcf7024
commit
48f908020f
|
@ -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" ]
|
||||
|
|
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue