2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-16 03:55:41 +00:00

Separate Dockerfile for devcontainer

- Debian based (python3.11-bookworm)
- Install essential system packages
This commit is contained in:
Oliver Walters
2025-02-11 05:31:47 +00:00
parent 02b3b731d7
commit aa502eadb4
6 changed files with 43 additions and 10 deletions

View File

@ -9,8 +9,7 @@
# - Runs InvenTree web server under django development server
# - Monitors source files for any changes, and live-reloads server
ARG base_image=python:3.11-alpine3.21
FROM ${base_image} AS inventree_base
FROM python:3.11-alpine3.21 AS inventree_base
ARG base_image
# Build arguments for this image

View File

@ -36,7 +36,7 @@ services:
# Database service
# Use PostgreSQL as the database backend
inventree-db:
image: postgres:16
image: postgres:17
container_name: inventree-db
expose:
- ${INVENTREE_DB_PORT:-5432}/tcp