We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1cb1a8 commit c9956e4Copy full SHA for c9956e4
Dockerfile
@@ -1,16 +1,19 @@
1
#Build stage
2
-FROM python:3.8.11-slim AS builder
+FROM python:3.8-alpine3.14 AS builder
3
4
LABEL maintainer="Wasin Waeosri <wasin.waeosri@rifinitiv.com>"
5
6
+# Install gcc + musl-dev
7
+RUN apk add --no-cache gcc musl-dev
8
#Copy requirements.txt
9
COPY requirements.txt .
10
11
# install dependencies to the local user directory (eg. /root/.local)
12
RUN pip install --user -r requirements.txt
13
14
# Run stage
-FROM python:3.8.11-alpine
15
+#FROM python:3.8.11-alpine
16
+FROM python:3.8.11-alpine3.14
17
WORKDIR /app
18
19
# Update PATH environment variable + set Python buffer to make Docker print every message instantly.
0 commit comments