Allow overriding Docker base image
This commit is contained in:
+2
-1
@@ -1,4 +1,5 @@
|
|||||||
FROM python:3.12-slim
|
ARG PYTHON_IMAGE=python:3.12-slim
|
||||||
|
FROM ${PYTHON_IMAGE}
|
||||||
|
|
||||||
LABEL maintainer='<author>'
|
LABEL maintainer='<author>'
|
||||||
LABEL version='0.0.0-dev.0-build.0'
|
LABEL version='0.0.0-dev.0-build.0'
|
||||||
|
|||||||
+4
-2
@@ -1,7 +1,9 @@
|
|||||||
version: '3'
|
|
||||||
services:
|
services:
|
||||||
webssh:
|
webssh:
|
||||||
build: .
|
build:
|
||||||
|
context: .
|
||||||
|
args:
|
||||||
|
PYTHON_IMAGE: ${PYTHON_IMAGE:-python:3.12-slim}
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- "8888:8888"
|
- "8888:8888"
|
||||||
|
|||||||
Reference in New Issue
Block a user