-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(dev): add Makefile command to run Lighthouse CI
This will run Lighthouse CI against the current app, with the current data stored in the DB.
- Loading branch information
Showing
2 changed files
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,13 +18,17 @@ RUN <<EOF | |
set -exo pipefail | ||
apt-get update | ||
apt-get -y upgrade | ||
apt-get install -y --no-install-recommends libmagic1 gettext graphviz graphviz-dev chromium | ||
apt-get install -y --no-install-recommends libmagic1 gettext graphviz graphviz-dev chromium npm | ||
npm install -g @lhci/[email protected] | ||
pip install --upgrade pip | ||
pip install -r requirements-dev.txt | ||
EOF | ||
|
||
# Copy project | ||
COPY ./app /app/ | ||
|
||
# Used in LHCI | ||
COPY entrypoint.sh / | ||
|
||
# Run the application | ||
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters