2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-14 19:15:41 +00:00

Refactor docker image for devcontainer (#6029)

* Make base image configurable

* Refactor dockerfile

- Place extra packages into extra shell script
- Add pre-build stage where packages are installed, and then cache removed
- Run same script in dev target, but do not remove

* Run docker workflow whenever package requirements change

* Replace devcontainer dockerfile

* Install base packages in devcontainer

* --no-cache-dir
This commit is contained in:
Oliver
2023-12-05 07:05:48 +11:00
committed by GitHub
parent 15f58b965e
commit f96055a33f
6 changed files with 50 additions and 80 deletions

View File

@ -45,6 +45,7 @@ jobs:
- docker-compose.yml
- docker.dev.env
- Dockerfile
- requirements.txt
# Build the docker image