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:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user