mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-12 01:55:39 +00:00
Pin base python package requirements
- Require invoke to be installed before we can run "invoke update"
This commit is contained in:
@ -72,9 +72,9 @@ RUN apk add --no-cache git make bash \
|
||||
# MySQL/MariaDB support
|
||||
mariadb-connector-c mariadb-dev mariadb-client
|
||||
|
||||
# Install required python packages
|
||||
RUN pip install --no-cache-dir -U psycopg2 mysqlclient pgcli mariadb
|
||||
|
||||
# Install required base-level python packages
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip install --no-cache-dir -U -r requirements.txt
|
||||
FROM base as production
|
||||
|
||||
# Clone source code
|
||||
|
Reference in New Issue
Block a user