using bullseye

This commit is contained in:
ari committed 2022-08-31 21:16:52 -04:00
1 parent 20b4b4870d
commit 61270c1528
2 files changed
+4 -1

No files matched your search

+2 -1
View File
@@ -2,7 +2,7 @@
ARG BUILD_ARCH
# <--- Main Image -->
FROM python:3.10-buster
FROM python:3.10-slim-bullseye
WORKDIR /app
# <--- Post-Build Args -->
@@ -10,6 +10,7 @@ ARG BUILD_VERSION
# <--- Environment Variables -->
ENV BUILD_VERSION $BUILD_VERSION
ENV BUILD_ARCH $BUILD_ARCH
# <--- System Wide Dependencies -->
ENV LANG C.UTF-8
+2
View File
@@ -8,8 +8,10 @@ host_port="$host:$port"
pushd $api_location
echo "--------------------"
echo "BUILD_VERSION = "$BUILD_VERSION
echo "ARCH = "$BUILD_ARCH
echo "HOST = $host_port"
echo "HASSIO_WS = $HASSIO_WS"
echo $(uname -a)
echo $(python --version)
echo "--------------------"
python -m hypercorn src.app:app -b $host_port --config /app/hypercorn.toml