mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Pin base python package requirements
- Require invoke to be installed before we can run "invoke update"
This commit is contained in:
parent
8fea9bc645
commit
c2af401854
@ -72,9 +72,9 @@ RUN apk add --no-cache git make bash \
|
|||||||
# MySQL/MariaDB support
|
# MySQL/MariaDB support
|
||||||
mariadb-connector-c mariadb-dev mariadb-client
|
mariadb-connector-c mariadb-dev mariadb-client
|
||||||
|
|
||||||
# Install required python packages
|
# Install required base-level python packages
|
||||||
RUN pip install --no-cache-dir -U psycopg2 mysqlclient pgcli mariadb
|
COPY requirements.txt requirements.txt
|
||||||
|
RUN pip install --no-cache-dir -U -r requirements.txt
|
||||||
FROM base as production
|
FROM base as production
|
||||||
|
|
||||||
# Clone source code
|
# Clone source code
|
||||||
|
13
docker/requirements.txt
Normal file
13
docker/requirements.txt
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
# Base python requirements for docker containers
|
||||||
|
|
||||||
|
# Basic package requirements
|
||||||
|
setuptools>=57.4.0
|
||||||
|
wheel>=0.37.0
|
||||||
|
invoke>=1.4.0 # Invoke build tool
|
||||||
|
gunicorn>=20.1.0 # Gunicorn web server
|
||||||
|
|
||||||
|
# Database links
|
||||||
|
psycopg2>=2.9.1
|
||||||
|
mysqlclient>=2.0.3
|
||||||
|
pgcli>=3.1.0
|
||||||
|
mariadb>=1.0.7
|
@ -1,11 +1,5 @@
|
|||||||
# Basic package requirements
|
|
||||||
setuptools>=57.4.0
|
|
||||||
wheel>=0.37.0
|
|
||||||
invoke>=1.4.0 # Invoke build tool
|
|
||||||
gunicorn>=20.1.0 # Gunicorn web server
|
|
||||||
|
|
||||||
# Django framework
|
# Django framework
|
||||||
Django==3.2.4 # Django package
|
Django==3.2.4 # Django package
|
||||||
|
|
||||||
pillow==8.2.0 # Image manipulation
|
pillow==8.2.0 # Image manipulation
|
||||||
djangorestframework==3.12.4 # DRF framework
|
djangorestframework==3.12.4 # DRF framework
|
||||||
|
Loading…
Reference in New Issue
Block a user