add https apt-get; readme update

pull/106/head
Jeff Culverhouse 11 months ago
parent 835fe53c9a
commit c8438581c1

@ -2,6 +2,7 @@
FROM python:3-slim AS builder FROM python:3-slim AS builder
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y apt-transport-https && \
apt-get -y upgrade && \ apt-get -y upgrade && \
apt-get install --no-install-recommends -y build-essential && \ apt-get install --no-install-recommends -y build-essential && \
apt-get clean && \ apt-get clean && \
@ -20,6 +21,7 @@ RUN .venv/bin/pip3 install --no-cache-dir --upgrade -r requirements.txt
FROM python:3-slim AS production FROM python:3-slim AS production
RUN apt-get update && \ RUN apt-get update && \
apt-get install -y apt-transport-https && \
apt-get -y upgrade && \ apt-get -y upgrade && \
apt-get clean && \ apt-get clean && \
rm -rf /var/lib/apt/lists/* rm -rf /var/lib/apt/lists/*

@ -87,6 +87,10 @@ CMD [ "python", "-u", "./app.py", "-c", "/config" ]
Docker is the only supported way of deploying the application. The app should run directly via Python but this is not supported. Docker is the only supported way of deploying the application. The app should run directly via Python but this is not supported.
## See also
[govee2mqtt](https://github.com/weirdtangent/govee2mqtt)
[blink2mqtt](https://github.com/weirdtangent/blink2mqtt)
## Buy Me A Coffee ## Buy Me A Coffee
A few people have kindly requested a way to donate a small amount of money. If you feel so inclined I've set up a "Buy Me A Coffee" A few people have kindly requested a way to donate a small amount of money. If you feel so inclined I've set up a "Buy Me A Coffee"

Loading…
Cancel
Save