We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a94a66 commit eea91ccCopy full SHA for eea91cc
Dockerfile
@@ -1,11 +1,14 @@
1
-FROM python:3.10
+FROM python:3.10-alpine
2
3
-RUN addgroup --gid 1000 server && adduser --uid 1000 --gid 1000 --system server
+RUN adduser -D server
4
WORKDIR /home/server
5
6
# Copy requirements first as to not disturb cache for other changes.
7
COPY requirements.txt .
8
9
+# Install dependencies
10
+RUN apk add -U --no-cache libpq-dev build-base
11
+
12
RUN pip3 install -r requirements.txt && \
13
pip3 install gunicorn
14
0 commit comments