Skip to content

Commit 3019c74

Browse files
author
Naor Livne
committed
updating to alpine 3.9 & adding psutil prereqs
1 parent c8eadd6 commit 3019c74

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# it's offical so i'm using it + alpine so damn small
2-
FROM python:2.7.15-alpine3.8
2+
FROM python:2.7.15-alpine3.9
33

44
# copy the codebase
55
COPY . /worker
66

7-
# install required packages
7+
# install required packages - requires build-base due to psutil GCC complier requirements
8+
RUN apk add --no-cache build-base python2-dev linux-headers
89
RUN pip install -r /worker/requirements.txt
910

1011
#set python to be unbuffered

0 commit comments

Comments
 (0)