git.99rst.org
/
flatnotes.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
f125321
)
Change base image to python:3.8-slim-bullseye
author
Adam Dullage
<redacted>
Thu, 19 Aug 2021 12:22:38 +0000
(13:22 +0100)
committer
Adam Dullage
<redacted>
Thu, 19 Aug 2021 12:22:38 +0000
(13:22 +0100)
Dockerfile
patch
|
blob
|
history
diff --git
a/Dockerfile
b/Dockerfile
index 28859e30909af38297f040016e8250cbc6be60a9..87aa1235987a96f2662a19689b76730e14a27161 100644
(file)
--- 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}
git clone https://git.99rst.org/PROJECT