From: Adam Dullage Date: Thu, 19 Aug 2021 12:22:38 +0000 (+0100) Subject: Change base image to python:3.8-slim-bullseye X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=78a7604e59f6d0d433956650cbeedf0651e7cf4a;p=flatnotes.git Change base image to python:3.8-slim-bullseye --- diff --git a/Dockerfile b/Dockerfile index 28859e3..87aa123 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8-alpine3.14 +FROM python:3.8-slim-bullseye ARG USER=flatnotes ARG UID=1000 @@ -22,11 +22,9 @@ RUN addgroup \ RUN mkdir ${DATA_DIR} && chown ${UID}:${GID} ${DATA_DIR} -RUN apk add --update-cache \ - libc-dev \ - gcc \ - npm \ - && rm -rf /var/cache/apk/* \ +RUN apt update && apt install -y \ + npm \ + && rm -rf /var/lib/apt/lists/* \ && pip install pipenv USER ${UID}