Skip to content

Commit 48f9080

Browse files
jennifer-richardsNGPixel
authored andcommitted
ci: collect statics when building image
1 parent 8a4fcf7 commit 48f9080

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

dev/build/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ RUN yarn rebuild && \
2727
yarn build && \
2828
yarn legacy:build
2929

30+
RUN echo "yes" | /bin/bash dev/build/collectstatics.sh
31+
3032
RUN mkdir -p /a
3133

3234
VOLUME [ "/a" ]

dev/build/datatracker-start.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ echo "Running Datatracker checks..."
66
echo "Running Datatracker migrations..."
77
./ietf/manage.py migrate --settings=settings_local
88

9-
echo "Running collectstatic..."
10-
./ietf/manage.py collectstatic --no-input
11-
129
echo "Starting Datatracker..."
1310

1411
gunicorn \

0 commit comments

Comments
 (0)