mirror of
https://github.com/aljazceru/CTFd.git
synced 2025-12-17 22:14:25 +01:00
* Bump jinja2 from 2.11.2 to 2.11.3 Bumps [jinja2](https://github.com/pallets/jinja) from 2.11.2 to 2.11.3. - [Release notes](https://github.com/pallets/jinja/releases) - [Changelog](https://github.com/pallets/jinja/blob/master/CHANGES.rst) - [Commits](https://github.com/pallets/jinja/compare/2.11.2...2.11.3) Signed-off-by: dependabot[bot] <support@github.com> * Run pip-compile our way * Add newline * Update CHANGELOG Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Kevin Chung <kchung@nyu.edu> Co-authored-by: Kevin Chung <kchung@ctfd.io>
11 lines
312 B
Bash
Executable File
11 lines
312 B
Bash
Executable File
#!/bin/bash
|
|
# Script to pin Python requirements in a Docker container
|
|
ROOTDIR=`pwd -P`
|
|
docker run \
|
|
--rm \
|
|
--entrypoint bash \
|
|
-v $ROOTDIR:/mnt/CTFd \
|
|
-e CUSTOM_COMPILE_COMMAND='./scripts/pip-compile.sh' \
|
|
-it python:3.7 \
|
|
-c 'cd /mnt/CTFd && pip install pip-tools==5.4.0 && pip-compile'
|