mirror of
https://github.com/aljazceru/CTFd.git
synced 2026-01-31 11:54:23 +01:00
Python 2 has been removed from Alpine so install Python 3 deps in Alpine (#1473)
* Closes #1472 ``` docker build --no-cache -t ctfd . docker run -p 8000:8000 -it ctfd ``` works for me
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
|
||||
**Deployment**
|
||||
* `docker-compose` now provides a basic nginx configuration and deploys nginx on port 80
|
||||
* `Dockerfile` now installs `python3` and `python3-dev` instead of `python` and `python-dev` because Alpine no longer provides those dependencies
|
||||
|
||||
**Miscellaneous**
|
||||
* The `get_config` and `get_page` config utilities now use SQLAlchemy Core instead of SQLAlchemy ORM for slight speedups
|
||||
|
||||
@@ -4,8 +4,8 @@ RUN mkdir -p /opt/CTFd /var/log/CTFd /var/uploads
|
||||
|
||||
RUN apk update && \
|
||||
apk add --no-cache \
|
||||
python \
|
||||
python-dev \
|
||||
python3 \
|
||||
python3-dev \
|
||||
linux-headers \
|
||||
libffi-dev \
|
||||
gcc \
|
||||
|
||||
Reference in New Issue
Block a user