updated Dockerfile to include printservant environment variables

pull/2/head
frederic 2024-02-02 01:37:37 +01:00 committed by frederic
parent f61240d53a
commit 62c2f668ae
No known key found for this signature in database
2 changed files with 6 additions and 1 deletions

View File

@ -14,7 +14,9 @@ ENV PIP_DEFAULT_TIMEOUT=100 \
POETRY_VIRTUALENVS_CREATE=true \
POETRY_CACHE_DIR='/code/poetry-cache' \
POETRY_HOME='/code/poetry' \
POETRY_VERSION=1.7.1
POETRY_VERSION=1.7.1 \
# PrintServant:
PRINTSERVANT_HOST='http://host.docker.internal:3199'
RUN apt-get update && apt-get upgrade -y \
&& apt-get install --no-install-recommends -y \

View File

@ -3,3 +3,6 @@ services:
build: .
ports:
- "8080:5000"
extra_hosts:
- "host.docker.internal:host-gateway"